Difference between revisions of "Translation"
Jump to navigation
Jump to search
(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 ...") |
(No difference)
|
Revision as of 20:48, 19 January 2013
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.