X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.wiki.git;a=blobdiff_plain;f=Test-your-translations.md;h=e7b71819aaa8fb16bbe155ebeb4b0111fdd1d223;hp=a0b212b4f3724979e751ba58491c3b028f1a009c;hb=a517a558e20570378e1ec323112784a934d2e88b;hpb=f3e7c9827ab1f49efcdc8331ca9bf8ac4ea3cd3d diff --git a/Test-your-translations.md b/Test-your-translations.md index a0b212b..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 the `data` subdirectory of your Xonotic user directory, . -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