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

add i18n documentation - #638

Open
IngoKl wants to merge 1 commit into
pallets-eco:developfrom
IngoKl:i18n-doc
Open

add i18n documentation#638
IngoKl wants to merge 1 commit into
pallets-eco:developfrom
IngoKl:i18n-doc

Conversation

@IngoKl

@IngoKl IngoKl commented May 13, 2017

Copy link
Copy Markdown
Contributor

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

This (at least partly) closes #626

Comment thread docs/quickstart.rst

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

app.config['SECURITY_I18N_DOMAIN'] = 'flask_security'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread docs/quickstart.rst

1. Install Flask-BabelEx::

pip install flask-babelex

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@jirikuncar jirikuncar left a comment

Copy link
Copy Markdown
Contributor

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

IngoKl commented May 14, 2017

Copy link
Copy Markdown
Contributor Author

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