Translation Team/i18n Best Practices: Difference between revisions
m moved Walter is a wanker 14/i18n Best Practices to Translation Team/i18n Best Practices over redirect: revert |
→When in doubt, use translator-comments: Added brief reference to msgctxt |
||
| Line 13: | Line 13: | ||
#: mathlib.py:74 | #: mathlib.py:74 | ||
msgid "mul_sym" | msgid "mul_sym" | ||
msgstr "" | |||
</pre> | |||
You can also use [http://www.gnu.org/software/gettext/manual/html_node/Contexts.html#Contexts msgctxt], which is better integrated with [http://en.wikipedia.org/wiki/Translation_memory Translation Memory] (T.M.). The output is in this form: | |||
<pre> | |||
#: string ID | |||
msgctxt "button label" | |||
msgid "Edit" | |||
msgstr "" | msgstr "" | ||
</pre> | </pre> | ||