gsxdsm
083ebf8134
FN-6780: make i18n status check key parity
Make i18n status enforce catalog key parity while allowing empty fallback placeholders.
- Add a reusable i18n parity checker that reports missing and orphaned keys across secondary locales.
- Route pnpm i18n:status through the project parity gate and keep the upstream completeness report as i18n:status:report.
- Document that empty secondary locale strings are valid fallback placeholders and cover parity behavior with tests.
Files changed:
docs/i18n-contributing.md | 18 +++-
i18next.config.ts | 13 ++-
package.json | 3 +-
packages/i18n/scripts/check-i18n-parity.mjs | 110 +++++++++++++++++++++++
packages/i18n/src/__tests__/config.test.ts | 2 +-
packages/i18n/src/__tests__/parity.test.ts | 130 ++++++++++++++++++++++++++++
packages/i18n/src/parity.ts | 126 +++++++++++++++++++++++++++
7 files changed, 393 insertions(+), 9 deletions(-)
Fusion-Task-Id: FN-6780
Fusion-Task-Lineage: f687586a-bc09-4f9d-843f-b7205eb40a58
2026-06-20 06:46:35 -07:00
..
2026-06-19 16:47:33 -07:00
2026-06-19 07:34:26 -07:00
2026-06-20 05:53:46 -07:00
2026-06-20 05:23:05 -07:00
2026-06-19 16:47:34 -07:00
2026-06-19 07:34:26 -07:00
2026-06-20 04:40:31 -07:00
2026-06-20 06:46:35 -07:00
2026-06-19 07:34:26 -07:00
2026-06-19 07:34:26 -07:00
2026-06-08 15:19:27 -07:00
2026-06-19 07:34:26 -07:00