Open thelfensdrfer opened 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
from flask_babelex import get_domain
https://github.com/emdemir/Flask-Babel-JS/blob/master/flask_babel_js/__init__.py#L142 to: translations = get_domain().get_translations()
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?
Bump.
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
andhttps://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?