Merge pull request #304 from Happy4Game/update-contributing

fix: update instructions for adding new language JSON files
This commit is contained in:
edde746
2026-01-20 18:08:04 +01:00
committed by GitHub
+2 -2
View File
@@ -57,8 +57,8 @@ This project uses `slang` for internationalization with JSON files.
### Adding New Languages
1. Create new JSON file: `lib/i18n/strings_[locale].i18n.json`
2. Copy structure from `strings.i18n.json` and translate values
1. Create new JSON file: `lib/i18n/[locale].i18n.json`
2. Copy structure from `en.i18n.json` and translate values
3. Run `dart run slang` to regenerate files
### Guidelines