]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Test-your-translations.md
Upload attachment attackername.jpg
[xonotic/xonotic.wiki.git] / Test-your-translations.md
1 It is possible to download translation files from Transifex so you can work with an external editor or test your translations in-game.
2
3 For in-game testing, it is recommended to use a fresh Xonotic [autobuild](https://gitlab.com/xonotic/xonotic/-/wikis/Autobuilds) or [git build](https://gitlab.com/xonotic/xonotic/-/wikis/Repository_Access), because new strings are added or modified during the development process.
4
5 On Transifex, select the `common.pot` resource:
6 ![Screenshot_20191005_164237](uploads/37bb634467e5ee1a025022cc2e53e652/Screenshot_20191005_164237.png)
7 *  Select **"Download for use"** if you wish to test the translation in-game.
8 *  Select **"Download file to translate"** if you wish to edit the PO file with an external tool (such as [poedit](https://poedit.net/))
9 *  Select **"Upload file"** if you wish to upload a PO file that you edited on your computer.
10
11 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...).
12 If you don't know what your language code is, please have a look at the PO files located in the [xonotic-data.pk3dir](https://gitlab.com/xonotic/xonotic-data.pk3dir) repository.
13
14 Then copy the PO file in the `data` subdirectory of your **Xonotic user directory**. The user directory location depends on your Operating System: https://xonotic.org/faq/#config
15
16 You're done!
17 Simply start Xonotic and check your latest translation changes.