Flask-BabelPlus-2.2.0
توضیحات
Adds i18n/l10n support to Flask applications
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | Flask-BabelPlus-2.2.0 |
| نام | Flask-BabelPlus |
| نسخه کتابخانه | 2.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Peter Justin |
| ایمیل نویسنده | peter.justin@outlook.com |
| آدرس صفحه اصلی | https://github.com/sh4nks/flask-babelplus |
| آدرس اینترنتی | https://pypi.org/project/Flask-BabelPlus/ |
| مجوز | BSD |
Flask-BabelPlus
---------------
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 arguments to the
``init_app`` method as well.
.. code:: python
# Flask-BabelPlus with custom domain
babel.init_app(app=app, default_domain=FlaskBBDomain(app))
Links
`````
* `Documentation <http://packages.python.org/Flask-BabelPlus>`_
* `Flask-BabelEx <https://github.com/mrjoes/flask-babelex>`_
* `original Flask-Babel <https://pypi.python.org/pypi/Flask-Babel>`_.
.. _Babel: https://github.com/python-babel/babel
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0 | Flask |
| >=2.0 | Babel |
نحوه نصب
نصب پکیج whl Flask-BabelPlus-2.2.0:
pip install Flask-BabelPlus-2.2.0.whl
نصب پکیج tar.gz Flask-BabelPlus-2.2.0:
pip install Flask-BabelPlus-2.2.0.tar.gz