----- Robert Clausecker <fuz...@gmail.com> a écrit : > Why not just add the language name to the translation strings, like > this: > > AddLanguageItem(_("French (Français)"),"fr"); > AddLanguageItem(_("German (Deutsch)"),"de"); > > The names in braces are not subject to be translated. Or:
See my reply next paragraph. > Pro: Auto-generation of languages list possible. > Contra: Must give translators a hint how to translate. This menu is for people who want to change the game language. They might not understand the current one, in particular in case of error, nor understand 2 letter codes. In that situation, the noun between parenthesizes allows them to select the one they intend with a minimum of knowledge in English. If they don't even know the name for their language in English, they can still change the name. But because, indeed, some may not be printed correctly with the default font, we use a transliteration that is supported by DejaVu. > PPS: We should probably change the font for language menu, because > dejavu does not support chinese characters yielding in some boxes. There can be only one font instance, so we would have to have by default a font supporting *all* possible characters in the supported languages. This is a bit unfeasible, we just allow specifying in the xml file a font for a particular language. _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev