Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thelfensdrfer opened this issue May 19, 2020 · 1 comment
Open

Comments

@thelfensdrfer
Copy link

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
Copy link
Author

Bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant