Programmatic — config from TypeScript

i18n.codegen.json is written from TypeScript (buildCodegenConfig), then codegen produces split-by-locale loaders.

Server component

Welcome Server!

Built with programmatic multi-namespace codegen

locale "en" · createI18n().load(…)
Client component

Welcome Client! withI18n · name="Client" · locale "en"

heroRef → <>

Built with programmatic multi-namespace codegen