X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.wiki.git;a=blobdiff_plain;f=Test-your-translations.md;h=e7b71819aaa8fb16bbe155ebeb4b0111fdd1d223;hp=feaef8264a4da260d3dd551cd8bb884e7db0976e;hb=16234b7b9c8239d119f5ca3eba0b0d88f942808f;hpb=45f6463a3c7b027b252e6fa3f8425b34a53bff3d diff --git a/Test-your-translations.md b/Test-your-translations.md index feaef82..e7b7181 100644 --- a/Test-your-translations.md +++ b/Test-your-translations.md @@ -1,16 +1,17 @@ It is possible to download translation files from Transifex so you can work with an external editor or test your translations in-game. +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. + 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...). +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 located 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 +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 You're done! -Simply start Xonotic and test your latest translation changes. \ No newline at end of file +Simply start Xonotic and check your latest translation changes. \ No newline at end of file