docs: update I18n section

This commit is contained in:
Kee Jefferys 2023-10-11 16:37:54 +11:00
parent 954a1a7002
commit 479fd5d342
1 changed files with 5 additions and 2 deletions

View File

@ -138,8 +138,11 @@ So you wanna make a pull request? Please observe the following guidelines.
- Never use plain strings right in the source code - pull them from `messages.json`!
You **only** need to modify the default locale
[`_locales/en/messages.json`](_locales/en/messages.json).
Other locales are generated automatically based on that file and then periodically
uploaded to Crowdin for translation.
Other locales are generated automatically based on that file and then periodically
uploaded to Crowdin for translation. If you add or change strings in messages.json
you will need to run [`tools/updateI18nKeysType.py`](tools/updateI18nKeysType.py)
this script generates updated TypeScript type definitions to ensure you aren't
using a localisation key which doesn't exist.
- Please do not submit pull requests for pure translation fixes. Anyone can update
the translations at [Crowdin](https://crowdin.com/project/session-desktop).
- [Rebase](https://nathanleclaire.com/blog/2014/09/14/dont-be-scared-of-git-rebase/) your