From b2551f6a2209b8a11b42834cb0d63f5c03a2b95f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Sat, 21 Jan 2017 01:04:03 -0300 Subject: Add support for gettext message catalogs. --- doc/translator.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/translator.md (limited to 'doc/translator.md') 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 -- cgit v1.2.3