docs(i18n): add a developer guide for t, tn, msg and data-i18n

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-12 14:03:30 +04:00
1 parent 13efd411b6
commit 4dcbf7fbfa
5 files changed
+74 -17

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
// English needs no catalog. Every other locale is one flat JSON file,
// locales/<code>.json, keyed by the English text (for tn, by the English
// plural form). A missing entry falls back to English.
// `npm run i18n:check` keeps the catalogs in step with the code.
// `npm run i18n` keeps the catalogs in step with the code. Guide: docs/I18N.md.
import {
DEFAULT_LOCALE,
normalizeLocale,