python-babel / flask-babel

i18n and l10n support for Flask based on Babel and pytz
https://python-babel.github.io/flask-babel/
Other
444 stars 159 forks source link

Option to specify translation folder directory #105

Closed ghost closed 8 years ago

ghost commented 8 years ago

Right now flask-babel assumes that the directory containing translations to be inside the main application folder. Is there a way to change this to its parent folder? This will be more useful for organizing a large project set

TkTech commented 8 years ago

It does not, you can specify alternate translation directories using BABEL_TRANSLATION_DIRECTORIES.