TranslatorGuide – HoverRace

Translators Guide

For most translators, translating via a web browser is the simplest and best option. See TranslatorGuideWeb (or follow the link below) for more information.

Editing translations

Translating via Web Browser

Translating on Windows

Translating on Linux

Adding a new language

Only developers with commit access can add new languages.

First, Update po/hoverrace.pot. On Windows, run the build/update-po.cmd script. On Linux, run "make" in the "po" directory.

Next, in the "po" directory, run the "msginit" program (part of the gettext tools). For example, to add the "en_GB" language:

msginit -i hoverrace.pot -l en_GB

Now, open the new .po file and set the character set. Find the line that looks like:

"Content-Type: text/plain; charset=ASCII\n"

and change that to:

"Content-Type: text/plain; charset=utf-8\n"

Next, add language to the "LINGUAS" file. This file lists all of the supported languages to build.

Finally, add it to Subversion:

svn add en_GB.po
svn propset svn:mime-type 'text/plain;charset=utf-8' en_GB.po
svn ci LINGUAS en_GB.po