Skip to content
Internationalization library for Minetest.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
intltest Update test translations with latest script. Feb 25, 2017
lib
tools Fixes to translation update script. Feb 25, 2017
.gitignore
.luacheckrc Add `.luacheckrc`. Feb 11, 2017
LICENSE.md Add support for gettext message catalogs. Jan 24, 2017
README-es.md Add support for gettext message catalogs. Jan 24, 2017
README-it.md
README-ms.md Translated README to Malay. Sep 10, 2017
README-pt_BR.md Update README-pt_BR.md Jan 26, 2017
README.md Add support for gettext message catalogs. Jan 24, 2017
description.txt
gettext.lua
init.lua Add missing closing brace at end of log function Jul 10, 2017
intllib.lua Use optional dependencies to only load once and re-add support for es… Oct 29, 2013
lib.lua
mod.conf

README.md

Internationalization Lib for Minetest

By Diego Martínez (kaeza). Released under Unlicense. See LICENSE.md for details.

This mod is an attempt at providing internationalization support for mods (something Minetest currently lacks).

Should you have any comments/suggestions, please post them in the forum topic. For bug reports, use the bug tracker on Github.

How to use

If you are a regular player looking for translated texts, just install this mod like any other one, then enable it in the GUI.

The mod tries to detect your language, but since there's currently no portable way to do this, it tries several alternatives:

  • language setting in minetest.conf.
  • LANGUAGE environment variable.
  • LANG environment variable.
  • If all else fails, uses en.

In any case, the end result should be the ISO 639-1 Language Code of the desired language.

Mod developers

If you are a mod developer looking to add internationalization support to your mod, see doc/developer.md.

Translators

If you are a translator, see doc/translator.md.

You can’t perform that action at this time.