Skip to main content

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:

  1. It is possible to use multiple language catalogs in one Flask application;

  2. Localization domains: your extension can package localization file(s) and use them if necessary;

  3. 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))

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 details)

Uploaded Source

Built Distribution

Flask_BabelPlus-2.2.0-py2.py3-none-any.whl (13.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Flask-BabelPlus-2.2.0.tar.gz.

File metadata

  • Download URL: Flask-BabelPlus-2.2.0.tar.gz
  • Upload date:
  • Size: 50.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for Flask-BabelPlus-2.2.0.tar.gz
Algorithm Hash digest
SHA256 6791c4d6c644bb485b6b666f422a870f9ce9cb0c606ce9e1cb682174123fd970
MD5 1a46f90b16b844a740a7f7363aae8fed
BLAKE2b-256 6670f7d1ff3c76a37e37ed4886c0f1e3d125475fb201e35ff2ddf17d785c60a5

See more details on using hashes here.

File details

Details for the file Flask_BabelPlus-2.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: Flask_BabelPlus-2.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for Flask_BabelPlus-2.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6610dc53808cc0fd00213b553871a6a6c170a08015774a31ff8bf3ba893ff655
MD5 d84793ac057cb7f5c3a2df9dfcbc6e23
BLAKE2b-256 a475170d80f4dc0e50264c6e25435b905ca73d5f594da8aff70995605f03fd73

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page