Translation

From Minetest Developer Wiki
Revision as of 20:48, 19 January 2013 by Kaeza (talk | contribs) (Created page with " == Overview == Minetest uses the '''gettext''' library for translation of game text. The locales available are detected as part of the build process, as well as the creation ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Minetest uses the gettext library for translation of game text. The locales available are detected as part of the build process, as well as the creation of message catalogs.

Language detection

Minetest detects the current language by inspecting the LANG environment variable. This is not a problem on Unix-based systems (such as GNU/Linux) since the system already defines this variable at login. On Windows platforms, you must define the variable manually[how?]

.

Available translations

The available translations are found in source form in the po/ directory, and are built as part of the build process.