E01.1 · THE CATALOG
All text, one place.
Every user-facing string lives in the catalog, keyed and grouped. The English and Chinese catalogs mirror each other key-for-key, so any string can be found in both.
HOLDSAll strings
KEYEDYes
MIRROREN ↔ ZH
FINDIn both
E01.2 · FORMAT
Structured JSON.
Catalogs are JSON, supporting interpolation, plurals and rich formatting via ICU syntax. The format is standard, so tooling and translators both understand it.
FORMATJSON
SUPPORTSICU
PLURALSYes
STANDARDTooling-friendly
E01.3 · PER LOCALE
One per language.
Each locale has its own catalog file, loaded on demand. Adding a language means adding a file — not touching the components that consume the keys.
FILEPer locale
LOADEDOn demand
ADD LANGAdd file
COMPONENTSUntouched
E01.4 · STRUCTURE
Nested, by feature.
Keys nest by feature and screen, matching the key-structure convention. The structure makes a large catalog navigable and gives translators context from the path.
NESTBy feature
MATCHESKey convention
NAVIGABLEAt scale
CONTEXTFrom path