summaryrefslogtreecommitdiff
path: root/doc/translator.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/translator.md')
-rw-r--r--doc/translator.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/translator.md b/doc/translator.md
new file mode 100644
index 0000000..3c278e8
--- /dev/null
+++ b/doc/translator.md
@@ -0,0 +1,20 @@
+
+# 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