1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00

Update readme to reflect localisation changes

This commit is contained in:
AnthonyFuller 2023-04-21 18:11:53 +01:00
parent afe842530d
commit 828a194c6f

View File

@ -49,14 +49,13 @@ To contribute, you can use Pull Requests from your own fork. You can fix bugs
reported in issues or add new features you think would be useful, new features
not listed in issues would have to be discussed before merging.
To update localisation files, edit `locale_h2.json` and `locale_h3.json` in the
To update localisation files, edit `locale.json` in the
`resources` folder. If adding new strings, make sure to add the English versions
to all languages (other than `xx`, this section can be ignored). If you are
translating existing strings, you only need to translate ones that are in that
language. Then make sure `rpkg_cli.exe`, `HMLanguageTools.exe`, and
`ResourceLib_*.dll` are in the `resources` folder. Then, from the root project
folder, run `yarn rebuild-locale` and push the new RPKGs and edited locale JSON
files.
to all languages. If you are translating existing strings, you only need to
translate ones that are in that language. Then make sure `rpkg_cli.exe`,
`HMLanguageTools.exe`, and `ResourceLib_*.dll` are in the `resources` folder.
Then, from the root project folder, run `yarn rebuild-locale` and push the new
RPKGs and edited locale JSON files.
Thank you to people who have contributed!