@jsvision/i18n / CreateI18nOptions
Interface: CreateI18nOptions
Defined in: types.ts:197
Options used to synchronously create an internationalization service.
Extended by
Properties
catalogs?
readonlyoptionalcatalogs?: readonlyunknown[]
Defined in: types.ts:203
Ordered catalog layers; later layers win within the same locale.
diagnosticSink?
readonlyoptionaldiagnosticSink?:DiagnosticSink
Defined in: types.ts:205
Optional observer for each new recoverable diagnostic.
fallbackLocales?
readonlyoptionalfallbackLocales?: readonlystring[]
Defined in: types.ts:201
Ordered locale fallbacks. English remains the final implicit fallback.
locale?
readonlyoptionallocale?:string
Defined in: types.ts:199
Explicit locale, or auto to opt into environment detection. Defaults to en.