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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for Flask-BabelPkg-0.9.6.tar.gz
Algorithm Hash digest
SHA256 626e7e93ea01228de6ca6cc1ce840fb8f365c49e3ca54f773bc8e9161de1fb64
MD5 6c1a13a2eae770ca2e85178e34d59c78
BLAKE2b-256 3ebfe5f337f19331e07256c579bfa6213cbea3cb64797fe24d2c733e8f2785c9

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