Implement 'Translators' tagged comments #127

seriyps opened this Issue Feb 11, 2014 · 1 comment

2 participants

ErlyDTL member

{# Translators: this is 'hello' message in page title #}
{% trans "Hello" %}

this will add comment for translators to .pot file

#. Translators: this is 'hello' message in page title
# path/to/template/file.html:10
msgid "Hello"
msgstr ""

More examples available in Django documentation (see link).

This is actual only for phrase extractor, but has no meaning for runtime or compilation.

@kaos kaos added this to the 1.0 milestone Feb 11, 2014
ErlyDTL member

Nice 👍

@kaos kaos modified the milestone: 0.9.2, 1.0 Mar 2, 2014
@kaos kaos referenced this issue in zotonic/zotonic Mar 5, 2014
@mworrell mworrell mod_admin_frontend: remove 'This', as it can't be translated well in …
…connection with the category title.
@kaos kaos closed this in c06240d Mar 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment