mirror of
https://github.com/vectorize-io/hindsight.git
synced 2026-09-14 19:31:49 +08:00
486c3a8b3b
* feat(control-plane): add i18n support with 8 locales Internationalize the control plane UI using next-intl. Pages move under [locale] segment with locale-prefixed routing (default English has no prefix). Adds en/es/fr/de/pt/ja/ko/zh catalogs, a Globe language switcher, and combines i18n routing with the existing auth middleware. The matcher uses an explicit file-extension allowlist so bank IDs with dots (e.g. SX.Products.GovComply.Build) still get the locale rewrite. Adds a locale parity test (vitest) and a static finder (scripts/find-untranslated.ts, exposed as npm run i18n:check) that walks the TSX AST to flag hardcoded user-facing strings — both wired into CI via the build-control-plane job so future drift fails the build. * style(control-plane): apply prettier formatting Run scripts/hooks/lint.sh to normalize formatting on the i18n changes so verify-generated-files passes.