minetest-mm/mods/intllib/doc/translator.md

21 lines
635 B
Markdown
Raw Normal View History

2020-10-25 19:17:09 +01:00
# Intllib translator documentation
#### New interface
Use your favorite tools to edit the `.po` files.
#### Old interface
To translate an intllib-supporting mod to your desired language, copy the
`locale/template.txt` file to `locale/LANGUAGE.txt` (where `LANGUAGE` is the
[ISO 639-1 Language Code][ISO639-1] of your language.
Open up the new file in your favorite editor, and translate each line putting
the translated text after the equals sign.
See `localefile.md` for more information about the file format.
[gettext]: https://www.gnu.org/software/gettext/
[ISO639-1]: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes