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.2.tar.gz (39.9 kB view hashes)

Uploaded Source

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