From 12b022c33a6fac92926ac1953940c762b9799750 Mon Sep 17 00:00:00 2001 From: SpiKe Date: Sat, 5 Oct 2019 15:20:11 +0000 Subject: [PATCH] Create Test your translations --- Test-your-translations.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Test-your-translations.md diff --git a/Test-your-translations.md b/Test-your-translations.md new file mode 100644 index 0000000..cf6cd60 --- /dev/null +++ b/Test-your-translations.md @@ -0,0 +1,16 @@ +It is possible to download translation files from Transifex so you can work with an external editor or test your translations in-game. + +On Transifex, select the **common.pot** resource: +![Screenshot_20191005_164237](uploads/37bb634467e5ee1a025022cc2e53e652/Screenshot_20191005_164237.png) +* Select **"Download for use"** if you wish to test the translation in-game. +* Select **"Download file to translate"** if you wish to edit the PO file with an external tool (such as [poedit](https://poedit.net/) +* Select **"Upload file"** if you wish to upload a PO file that you edited on your computer. + +In order to test your translation in-game, rename the PO file as **common.*.po**, where * is your language code ("fr" for French, "de" for German...). +If you don't know what your language code is, please have a look at the PO files in the [xonotic-data.pk3dir](https://gitlab.com/xonotic/xonotic-data.pk3dir) repository. + +Then copy the PO file in your Xonotic user directory, in the **data/** subdirectory. +The user directory location depends on your Operating System: https://xonotic.org/faq/#where-are-the-configuration-files-located + +You're done! +Simply start Xonotic and test your latest translation changes. \ No newline at end of file -- 2.39.2