I added an option to xgettext so that any C-style comments in our
code that starts with the string "i18n-hint" will be included in
the audacity.pot file as a hint to the translators (associated with
the next translated string found). Here's an example of how I used
it to clarify how the strings "L" and "R" should be translated in
/* i18n-hint: One-letter abbreviation for Left, in the Pan slider */
dc->DrawText(_("L"), mLeftX, 1);
/* i18n-hint: One-letter abbreviation for Right, in the Pan slider */
dc->DrawText(_("R"), mRightX-7, 1);
If anyone sees any short strings that might be ambiguous to a
translator, consider giving it an i18n-hint.
Get latest updates about Open Source Projects, Conferences and News.