Flask-BabelPkg-0.9.6
توضیحات
Adds i18n/l10n support to Flask applications and extensions
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | Flask-BabelPkg-0.9.6 |
| نام | Flask-BabelPkg |
| نسخه کتابخانه | 0.9.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Gaspar |
| ایمیل نویسنده | danielvazgaspar@gmail.com |
| آدرس صفحه اصلی | http://github.com/dpgaspar/flask-babelPkg |
| آدرس اینترنتی | https://pypi.org/project/Flask-BabelPkg/ |
| مجوز | BSD |
Flask Babel Pkg
===============
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)
نحوه نصب
نصب پکیج whl Flask-BabelPkg-0.9.6:
pip install Flask-BabelPkg-0.9.6.whl
نصب پکیج tar.gz Flask-BabelPkg-0.9.6:
pip install Flask-BabelPkg-0.9.6.tar.gz