I18n jsons sync command (#2342)

* Add new command

* Run against existing

* Update docs
This commit is contained in:
Kalle
2025-05-31 11:32:29 +03:00
committed by GitHub
parent 8a90b4dec4
commit 616bcfc003
244 changed files with 7145 additions and 1490 deletions

View File

@@ -52,3 +52,7 @@ export function CoolComponent() {
```
When utilizing feature specific translations ensure the json is loaded. This is handled via the `handle` Remix function.
### Sync
Use the `npm run i18n:sync` command to sync translation jsons with English (removing and adding keys for each language as needed). There is not currently a check in the pipeline that this was done but it should always be ran when a new translation string has been added or removed.