Closed dpgaspar closed 8 years ago
Hi,
I'm trying to migrate away from my fork flask-babelpkg. With this fork i was implementing a merge between flask-appbuilder translations and the user's app translations.
On a first a approach before instantiating flask-babel i'm setting:
appbuilder_translations_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../translations') app.config.setdefault('BABEL_TRANSLATION_DIRECTORIES', appbuilder_translations_path + ';translations')
But all my lazy_gettext call's don't get translated! Could you give me any help, guidance on this?
Thanks!
Sorry, just found the problem. I was still importing the (hopefully) old flask-babelpkg. :P
Hah! Let me know (by creating a ticket or PR) if there are features from your fork that you think are worth including.
Hi,
I'm trying to migrate away from my fork flask-babelpkg. With this fork i was implementing a merge between flask-appbuilder translations and the user's app translations.
On a first a approach before instantiating flask-babel i'm setting:
But all my lazy_gettext call's don't get translated! Could you give me any help, guidance on this?
Thanks!