Skip to content

Commit caca04e

Browse files
committed
Add guidelines for string resources and localization in CONTRIBUTING.md
1 parent e0f4205 commit caca04e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@ This is enforced automatically in the root `build.gradle.kts` via
162162
- Do **not** replace or remove `app/release.keystore`, and do not commit any
163163
personal keystores or override signing credentials.
164164

165+
## String Resources / Localization
166+
167+
When adding or modifying string/text resources, please ensure that:
168+
1. **Alphabetical Sorting**: All resource entries must be sorted alphabetically by their `name` keys.
169+
2. **Single-Line Format**: Each resource entry must be written entirely on a single line (no manual line wraps or breaks), and do not modify any other unrelated lines.
170+
3. **Complete Translations**: For any translatable content, make sure to completely supplement the internationalized translations for all supported languages in the project.
171+
165172
## CI / Automated Checks
166173

167174
GitHub Actions runs on every push to `trunk` and on every pull request:

0 commit comments

Comments
 (0)