From 86688b52136abf4046be07436a38b2d0c981132e Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 25 Aug 2021 13:39:35 +0200 Subject: [PATCH] Clean up localization instructions --- CONTRIBUTING.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 382be9b..4ea48a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -125,11 +125,11 @@ If using Cemu, follow the [Cemu online play guide](http://compat.cemu.info/wiki/ At the time of writing the only part of the project ready to be localized is the [main website](https://www.pretendo.network). -- Make sure to translate the strings from the working branch ([dev](https://github.com/PretendoNetwork/website/tree/dev)) and not the release branch ([master](https://github.com/PretendoNetwork/website/tree/master)), as the ones in the master branch are likely outdated. - To localize the website, translate the contents of the [`US_en.json`](https://github.com/PretendoNetwork/website/blob/dev/locales/US_en.json) file from `/locales` into a file named REGION_language.json (e.g. `UK_en.json`, `IT_it.json`, `DE_de.json`, etc.). + +Make sure to translate the strings from the working branch ([dev](https://github.com/PretendoNetwork/website/tree/dev)) and not the release branch ([master](https://github.com/PretendoNetwork/website/tree/master)), as the ones in the master branch are likely to be outdated. -When you're translating the json file, make sure to only translate the correct strings! +When you're translating the json file, make sure to only edit the correct strings! This example snippet should give you a general idea of what to edit: ```JSON { @@ -145,10 +145,11 @@ This example snippet should give you a general idea of what to edit: } } ``` + You should keep proper names or links unchanged. -You can then test your json file on the website [here](https://pretendo.network/localization) +You can then test your json file [here](https://pretendo.network/localization). ## Attribution -This contributing guideline is adapted from the [Atom contributing guideline](https://github.com/atom/atom/blob/master/CONTRIBUTING.md). \ No newline at end of file +This contributing guideline is adapted from the [Atom contributing guideline](https://github.com/atom/atom/blob/master/CONTRIBUTING.md).