mirror of
https://github.com/PretendoNetwork/Pretendo.git
synced 2024-06-01 19:47:54 -04:00
Clean up localization instructions
This commit is contained in:
parent
ae39c3e169
commit
86688b5213
|
@ -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).
|
||||
This contributing guideline is adapted from the [Atom contributing guideline](https://github.com/atom/atom/blob/master/CONTRIBUTING.md).
|
||||
|
|
Loading…
Reference in a new issue