en fr

es pl

sv de
direct download download direct download

howto/en/translate

From Wormux

Back to previous page Back to homepage

Contents

Introduction

Since Wormux version 0.7, Wormux speaks Unicode (using UTF-8 encoding) and uses TTF font! So you can use chinese, slovak, or other language anywhere ;-) And for a long time, Wormux has been using gettext, a great tool to translate the game: it allows anyone to translate Wormux without reading the source code.

Tasks relative to i18n / l10n

(i18n: internationalisation, l10n: localisation)

You are already a translator and want to check translation status ? You are new and want to contribute to the project translation ? Check these pages:

Gettext

Gettext is a great tool to easily translate any project without having to read the code. It uses ".po" files which are compiled into ".mo" files so that the game loads them quickly. The compiled files are copied to /usr/share/locale/<language>/LC_MESSAGES/wormux.mo.

You can use one of our po files (see or po/ subdirectory), or, better, po/wormux.pot if you have downloaded source code.

To edit a ".po" file, you can use any classic text editor (vi / emacs for example), in spite of some editors having problems with UTF-8. But some tools are dedicated to this task like poedit or KBabel.

Software to translate the game

poedit

Screenshot of poedit with spanish translation

See poedit website (poedit.org)

Tip for poedit: use ALT+up/down to move into strings.

KBabel

Another interesting tool is KBabel.

See KBabel website

List of Wormux translations

  1. bs: Bosnian
  2. ca: Catalan
  3. da: Danish
  4. de: German
  5. en: English (mother language of Wormux)
  6. eo: Esperanto
  7. es: Spanish
  8. fi: Finnish
  9. fr: French
  10. hu: Hungarian
  11. it: Italian
  12. nl: Dutch
  13. pl: Polish
  14. pt: Portuguese
  15. sk: Slovak
  16. ro: Romanian
  17. ru: Russian
  18. tr: Turkish

Get translators name in our authors list. This list may be out of date, check on this page which language are currently supported.

Run Wormux on a specific language

You can test a language using following command:

LANGUAGE=<language code> wormux

Example given:

LANGUAGE=pl wormux   # Run Wormux in polish

Send us your translation

After having create/update the .po file, please register to mailing-list wormux-update. Then send us an email to wormux-update_AT_gna.org (replace _AT_ by @) with the attached .po file.