Skip to content
Discussion options

You must be logged in to vote

Hmm - I think that is way too much work - as you have seen - translations come from code as well as templates.

One thought would be to simply fork flask-security-too - add a new translations directory for your LANG type - then run
python setup.py update_catalog - that should create a .po file you can modify to add the translations.

I haven't played with it - but it is possible you could simply copy an existing .po file and modify it. BABEL_TRANSLATIONS_DIRECTORIES can be set to point to your translations directory I believe...

Sorry - all a bit vague - hopefully give you some ideas.

You are more than welcome to submit a PR with your translations (as many as you do).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@magma764
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by magma764
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants