emdemir / Flask-Babel-JS

Flask extension to use Babel catalogs in Javascript
BSD 3-Clause "New" or "Revised" License
12 stars 8 forks source link

Is there any interest to use this extension with Flask-BabelEx #1

Open thelfensdrfer opened 4 years ago

thelfensdrfer commented 4 years ago

It's very easy to change. One has to change

https://github.com/emdemir/Flask-Babel-JS/blob/master/flask_babel_js/__init__.py#L5 to: from flask_babelex import get_domain and

https://github.com/emdemir/Flask-Babel-JS/blob/master/flask_babel_js/__init__.py#L142 to: translations = get_domain().get_translations()

The best, of course, would be to make this extension compatible with both, Flask-Babel and Flask-BabelEx. What do you think?

thelfensdrfer commented 4 years ago

Bump.