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.3.tar.gz
(39.3 kB
view details)
File details
Details for the file Flask-BabelPkg-0.9.3.tar.gz
.
File metadata
- Download URL: Flask-BabelPkg-0.9.3.tar.gz
- Upload date:
- Size: 39.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f977c13e8eefc367c2e9dc7f10706c9c289775a644c64347cb1cecc20af2a721 |
|
MD5 | fd634340b154221aeee998d3ffc8c137 |
|
BLAKE2b-256 | 880064fd47b673708c717c3b5f069d9753a6fa0b23d3922743a269113f8579d8 |