i18n and l10n support for Flask based on Babel and pytz. Support for package development, merging translations
Python Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Flask_BabelPkg.egg-info
docs
flask_babelpkg
tests
.travis.yml
LICENSE
MANIFEST.in
Makefile
README
README.rst
git_download.sh
git_upload.sh
setup.cfg
setup.py
tox.ini

README.rst

Flask Babel Pkg

https://travis-ci.org/dpgaspar/flask-babelPkg.png?branch=master

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)