[Scummvm-devel] The need for X-Language-name
scootergrisen
scootergrisen at gmail.com
Mon Oct 8 07:49:16 CEST 2018
It seems for some reason X-Language-name in the po files header is used
for translating a string.
Would it not be better to have the string just like the other strings
that is translated (not part of the header)?
It seems the X-Language-name string cant be translated online on Weblate.
Instead of:
"X-Language-name: Dansk\n"
Use something like:
#. I18N: Write the translated word for the language this translation is for
msgid "language"
msgstr "Dansk"
Maybe info about start with big or small letter.
Then on http://wiki.scummvm.org/index.php/HOWTO-Translate_ScummVM_GUI
delete:
You should also set the 'X-Language-name: Name\n' field in the header of
the po file to indicate the name of the language in the ScummVM GUI. If
not set, it will use the language code instead (for example 'de_DE' or
'fr_FR').
Because now the comment is the same place as the string is translated.
More information about the Scummvm-devel
mailing list