Change rules to work with translation file

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2025-03-27 18:58:15 +01:00
parent b688bf995e
commit 59d37b2a2e
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -2,7 +2,8 @@
How to work with translations as a developer: How to work with translations as a developer:
- Only add new translations to values/stings.xml, don't do this for other languages (it will be done via transifex). - Only add new translations to values/stings.xml, don't do this for other languages (it will be done via transifex).
- Never change the key of a translation. If it really has to be changed, delete it and create a new entry instead. - Never change the key of a translation. If it really has to be changed, delete it and create a new entry instead.
- If you change a value in values/strings.xml, also backport this to all stable branches. - Values in values/strings.xml are allowed to be modified. For bigger changes consider to add a new key-value pair.
- Only the first letter of a sentence should be uppercase, all following words should be lowercase.
- Translations are synced every night (or when manually triggered): - Translations are synced every night (or when manually triggered):
- New entries are added to transifex.com - New entries are added to transifex.com
- Updated translations from transifex are added via Nextcloud bot to this repo. - Updated translations from transifex are added via Nextcloud bot to this repo.