Adds i18n/l10n support to Flask applications
Project description
Adds i18n/l10n support to Flask applications with the help of the Babel library.
This is a fork of Flask-BabelEx which in turn is a fork of the official Flask-Babel extension. It is API compatible with both forks.
It comes with following additional features:
It is possible to use multiple language catalogs in one Flask application;
Localization domains: your extension can package localization file(s) and use them if necessary;
Does not reload localizations for each request.
The main difference to Flask-BabelEx is, that you can pass arguments to the init_app method as well.
# Flask-BabelPlus with custom domain
babel.init_app(app=app, default_domain=FlaskBBDomain(app))
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-BabelPlus-2.2.0.tar.gz
(50.3 kB
view hashes)
Built Distribution
Close
Hashes for Flask_BabelPlus-2.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6610dc53808cc0fd00213b553871a6a6c170a08015774a31ff8bf3ba893ff655 |
|
MD5 | d84793ac057cb7f5c3a2df9dfcbc6e23 |
|
BLAKE2b-256 | a475170d80f4dc0e50264c6e25435b905ca73d5f594da8aff70995605f03fd73 |