mirror of
https://github.com/minetest-mods/intllib.git
synced 2024-11-19 08:40:27 +01:00
21 lines
635 B
Markdown
21 lines
635 B
Markdown
|
|
# 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
|