fix(cli): translate the CLI for every locale (38 catalogs were nearly empty) - #13892
Merged
Merged
Conversation
… empty)
Task 3 of the i18n completion plan. `sync-ui-keys --catalog=cli
--retranslate-identical --translate-markers` over the 65 CLI catalogs:
52,000 strings translated in 28 minutes, 0 `__MISSING__` left, every
catalog now carries all 830 keys of bin/cli/locales/en.json (the new
`i18n:check-keys:cli` gate turns green). Placeholders verified against the
English source for every leaf; the pre-existing zh-CN / zh-TW
`health.cost` values regain their `${cost}` placeholder.
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
… empty) (diegosouzapw#13892) sync-ui-keys --catalog=cli + blocking i18n:check-keys:cli gate; 65 CLI catalogs synced (52,000 strings, 0 __MISSING__, all 830 keys, placeholders verified).⚠️ base-red inherited: diegosouzapw#12732
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tasks 1–3 of the i18n completion plan. The 2026-09-16 audit found that 38 of the 65 CLI catalogs carried 1–24 of 830 keys (ar, ru, ja, de, fr, es, it, … only the 24 newest locales and zh-CN/zh-TW/pt-BR were complete) — the CLI silently fell back to English for them, and
check:cli-i18nonly compares pt-BR/zh-CN/zh-TW so nothing noticed.scripts/i18n/sync-ui-keys.mjs --catalog=cli(exportedresolveCatalog): the same syncer targetsbin/cli/localeswith its own allowlistuntranslatable-cli-keys.json.scripts/i18n/check-key-completeness.mjs --catalog=cli(npm run i18n:check-keys:cli): blocking key-set parity for the CLI catalogs, wired into thei18n-ui-coveragejob next to the dashboard gate; documented inQUALITY_GATES.mdand the i18n guide.codex/gpt-5.6-sol-low, 3 workers, 28 min), 0__MISSING__, every catalog carries all 830 keys; placeholders ({port},{message},${cost}…) verified leaf by leaf against English — the pre-existing zh-CN/zh-TWhealth.costregains its${cost}.Validation
i18n-sync-ui-keys-catalog,i18n-key-completeness,i18n-sync-ui-keys-retranslate,cli-i18n-catalognpm run i18n:check-keys:clinpm run check:cli-i18ncheck:docs-allcheck:docs-countsfails only on the environmentalreadCodeFacts unavailable — tsx/spawnSync failed(every real count passes);check:env-doc-syncred is inherited (OMNIROUTE_CLOUD_SYNC_ENFORCE_SIGNATURE,CDP_PROXY_TOKEN— base tip)Samples: de
serve.starting→ "OmniRoute-Server wird auf Port {port} gestartet …", ja → "ポート {port} で OmniRoute サーバーを起動しています…", ar → "جارٍ بدء تشغيل خادم OmniRoute على المنفذ {port}…".