We're gradually moving to shared locales between Thorium products, which includes:
- Thorium Desktop
- Thorium Web
- and Thorium Mobile
This repository is meant to host these locales, made available to our translators through Weblate.
A document listing best practices for translators and developers can be found in guides.
All JSON locale files are formatted using Prettier with alphabetically sorted keys. This ensures consistent formatting and reduces merge conflicts.
npm install| Command | Description |
|---|---|
npm run format |
Format all JSON files |
npm run format:check |
Check if files are properly formatted (used in CI) |
- Keys are sorted alphabetically
- 4-space indentation
Note
The CI will fail if JSON files are not properly formatted. Run npm run format before committing.