Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

add i18n documentation #638

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

IngoKl
Copy link
Contributor

@IngoKl IngoKl commented May 13, 2017

I added a very simple piece of i18n/Flask-BabelEx documentation

This (at least partly) closes #626


2. Configure Flask-Security to use the correct I18N_DOMAIN::

app.config['SECURITY_I18N_DOMAIN'] = 'flask_security'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


1. Install Flask-BabelEx::

pip install flask-babelex
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@jirikuncar jirikuncar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO we should focus more on customisation (e.g. when one should change the default domain).

@IngoKl
Copy link
Contributor Author

IngoKl commented May 14, 2017

I agree on focusing more on the customization part. 👍 I'll work on it once I'll find the time! :)

jasco pushed a commit to jasco/flask-security that referenced this pull request Oct 3, 2023
Now return errors is always a simple list of errors.
we also return field_errors - which is the old wtforms dict of errors.

Support new wtforms 3.0 form level errors.

Convert some view code to utilize form level errors.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Documentation for Babel/i18n integration
2 participants