WesnothTranslationsHowTo

From The Battle for Wesnoth Wiki
Revision as of 17:18, 25 September 2005 by Ivanovic (talk | contribs)

Wesnoth Translations How-To

This page contains information on how-to translate and submit translation updates.

How to submit your translations

Translation Maintainers

The translation maintainers should send the updated/new translation po-files to the language coordinator: Ivanovic (crazy-ivanovic AT gmx DOT net)or Torangan (david AT torangan DOT de) Additionally they have to quickly check over other people's translations (other people translating the same language) as the other translators (if any) will have to send their translations to their language maintainer before inclusion in the CVS (the online source code repository).

Translators

The other translators (those who are not maintainers) should contact the maintainer for their language to see if there is some work to do. After you have done some work on the translation you should email it to your language maintainer. He/she will then (if needed) check it over before sending it on to the language coordinators. A list of all translators currently working on a language is found on each language page.

NEW Translators

If you want to help out with the translation of an language already started on, contact the translation maintainer for the language. If you want to start translation of Wesnoth to a new language, first contact Ivanovic or Torangan. And then just follow the instructions written in Translators .

Translations How-To

Notes:

  • If you haven't got Wesnoth from latest SVN, start out by doing so.

Take a look at WesnothSVN for instructions about that.

  • The old translation system, using cfg files and some wesnoth-specific

tools (make_translation, merge_translation, weslang) was abandoned in the 0.8.3 release of Wesnoth in favor of the standard __GNU gettext__ system.

If you are a translator, see GettextForTranslators for more information.

If you are a developer, gettext internals for Wesnoth are discussed here: GettextForWesnothDevelopers.

Specifying typefaces and fonts for a translation

Translations in a language which mainly uses characters outside of the Latin1 character set may want to specify different typefaces. In the translatable strings, there is a string named "Deja'Vu'Sans.ttf,Free'Sans.ttf,sazanami-gothic.ttf,gkai00mp.ttf", which specifies the order in which fonts are to be tried, for each character, before the program finds a font which contains this character: the font appearing first in the list is tried first. Translators may change this string in the translation. For example, it would be a good idea to specify first a font which contains all the characters generally used in the target language. This is especially important for translations into Asian languages. Please refer to the page WesnothAsianLanguages for more information.

See Also