Skip to main content

Adds i18n/l10n support to Flask applications

Project description

Flask-BabelPlus

Build Status Coverage Status PyPI Version Documentation Status

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 the localization Domain in the extensions initialization process.

# Flask-BabelPlus
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.4.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_babelplus-2.4.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file flask_babelplus-2.4.1.tar.gz.

File metadata

  • Download URL: flask_babelplus-2.4.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for flask_babelplus-2.4.1.tar.gz
Algorithm Hash digest
SHA256 4b9ccba505027e957127b805a2d91d901a2af8023481a463864be2f88c78d9cf
MD5 54aab44d30984e784108cddee4b9388c
BLAKE2b-256 7227771c92a71a66179eace6a103722fac68347a6563f6b61b63e834c6a8a477

See more details on using hashes here.

File details

Details for the file flask_babelplus-2.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_babelplus-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dca646782dfe2ab514f0f06ccd964d98d747fd0a1032ac5489d65ead4219f3ef
MD5 f7aa8d9e6ba2a29a7120574c22e0bd2a
BLAKE2b-256 8f6ff5d9a35a66296f9ee855602835c7a25d97f9c04280178c9b5308b836321f

See more details on using hashes here.

Supported by

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