python-babel / flask-babel

i18n and l10n support for Flask based on Babel and pytz
https://python-babel.github.io/flask-babel/
Other
444 stars 159 forks source link

Translator comments #99

Closed pors closed 6 years ago

pors commented 8 years ago

.po files support translator comments, see https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html

Is there a way to add translator comments in or near the gettext() call? I have seen mentions of adding a comment before the gettext() call, but that doesn't seem to work (at least not in jinja2).

nberrios commented 6 years ago

This thread might be of help to you: https://github.com/pallets/jinja/issues/591#issuecomment-224974742

TkTech commented 6 years ago

Closing as this is not a flask-babel issue. Thank you for that link @nberrios.