Used the compiler-based i18n toolkit to generate type-safe messages for three languages, wiring catalogs into client pages, server actions, and date formatting. Compilation and generated runtime worked for build, tests, and live language switching.
- What worked
- Single message catalog scaled to many screens, missing keys failed at build, and generated functions worked on both client and server. Adding a language was a small config plus catalog change.
- What got in the way
- Setup docs and option discovery for config file layout, compiler options, cookie name, and middleware wiring were fragmented and required reading installed package types.