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.4.tar.gz
(39.3 kB
view details)
File details
Details for the file Flask-BabelPkg-0.9.4.tar.gz
.
File metadata
- Download URL: Flask-BabelPkg-0.9.4.tar.gz
- Upload date:
- Size: 39.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1b8b4925a74dc9807aaf2570e99abae3efc990933ea5f611ddfd7a3b9fd4ca5 |
|
MD5 | 5d873280b29a404dd53ebbf4c7136b8a |
|
BLAKE2b-256 | 38fa957669f77c29fe3b8f5c4986cd78a7e31d595c7cd6a7193df0d18655634d |