Skip to content

i18n File Map

Quick map of locale-related code and docs.

Docs

  • docs/frontend/i18n/README.md — i18n runtime overview
  • docs/frontend/i18n/validate.md — validate, quality, missing, doctor, kits
  • docs/frontend/i18n/ci.md — CI gate commands
  • docs/frontend/i18n/sync.md — sync CLI
  • docs/frontend/i18n/locale-leaves.md — structured non-English leaf schema
  • docs/frontend/i18n/shared.md — preserve/parity policies (config)
  • maintainer/systems/i18n.md — maintainer/agent reference

Legacy per-command docs (generate.md, fill.md, review.md, cleanup.md, …) may still mention removed in-repo scripts; prefer i18nprune CLI docs at docs.i18nprune.dev for write operations.

Source (runtime)

  • apps/web/src/i18n/config.ts — supported languages + normalization
  • apps/web/src/i18n/index.ts — i18next init + lazy loaders
  • apps/web/src/i18n/loaders.generated.ts — generated locale imports (i18nprune patch)
  • apps/web/src/i18n/stripLocaleMeta.ts — strip structured leaves to plain strings
  • apps/web/src/i18n/keys.ts — key prefix constants
  • apps/web/locales/en.json — source-of-truth strings

Tooling (i18nprune)

  • apps/web/i18nprune.config.ts — locales, translate, preserve, parity, reference policies
  • apps/web/package.jsonlocales:* scripts wrapping i18nprune CLI
  • Native read-only audits: i18nprune kits (dynamic, identical, honest, baseline, pr) — see docs.i18nprune.dev/commands/kits