{ "info": { "author": "Erkan Durmus", "author_email": "derkan@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask-Locale\n=================\n\nImplements i18n and l10n support for Flask. This is based on the old [Flask-Locale](http://github.com/whtsky/whtsky-locale/) extension. Uses files or database to get translations.\n\nYou can use this extension to translate your applications really easily. No babel preperation is needed. Just put your English text and its translation in a file.\n\nInstall\n-------\n\n pip install Flask-Locale\n\n\nQuick Start\n-----------\n\n- Py3 ready\n- For very quick test look at `demo` directory.\n\n- Create a directory `translations` at app root. \n- Create file `translations/tr_TR.csv` with this content:\n\n\n \"Hello %(name)s\",\"Merhaba %(name)s\"\n \n \"Hello\",\"Merhaba\"\n\n- Create `templates` directory at app root.\n\n- Create `locale.html` file with this content:\n\n>>>\n \n \n
\n \n