Skip to main content

Adds i18n/l10n support to Flask applications and extensions

Project description

Implements i18n and l10n support for Flask. This is based on the Python babel module as well as pytz both of which are installed automatically for you if you install this library.

This is a fork from flask-babel, with a small change to support flask extensions translations.

With this you will have two diferent translations on the application, the extension translations and the application translations.

You can use it just like flask-babel orginal:

app = Flask(__name__)
babel = Babel(app)

Or you can use it in the package extension form:

from flask.ext.yourpackage import translations

babel = Babel(app, translations)

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-BabelPkg-0.9.5.tar.gz (39.3 kB view details)

Uploaded Source

File details

Details for the file Flask-BabelPkg-0.9.5.tar.gz.

File metadata

File hashes

Hashes for Flask-BabelPkg-0.9.5.tar.gz
Algorithm Hash digest
SHA256 533f1a56d2f94a15431553f3bdef7f761986eea5dbed2d30ad3fc8f1be8f1288
MD5 f044966c8b039b96641a28a13f4aa450
BLAKE2b-256 e12d9db497870022c6822af6113068589c604e4ca93a30935c0c449a4941e971

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