Answer the question
In order to leave comments, you need to log in
How to mark an unknown string for translation?
I am using flask-babel to localize the application.
Is there any way to add translations manually?
The user adds a string to the database, which is then displayed on the page via gettext along with previously known strings. Everything is clear with the second. Extract finds them in the code and adds them to the .pot file. But the user line, obviously, does not see.
I'm ready to create a separate .pot/.po file for these strings and edit it manually, but then how do I compile it along with the rest of the translations?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question