Skip to content

vzarskus/flask-babelplus

 
 

Repository files navigation

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

About

A modernized Flask-Babel(Ex) extension.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.3%
  • Makefile 0.7%