Skip to content

@jsvision/ui / LoadI18nOptions

Interface: LoadI18nOptions ​

Defined in: i18n/dist/types.d.ts:191

Options used to create a service from asynchronous catalog sources.

Extends ​

Properties ​

catalogs? ​

readonly optional catalogs?: readonly unknown[]

Defined in: i18n/dist/types.d.ts:163

Ordered catalog layers; later layers win within the same locale.

Inherited from ​

CreateI18nOptions.catalogs


diagnosticSink? ​

readonly optional diagnosticSink?: DiagnosticSink

Defined in: i18n/dist/types.d.ts:165

Optional observer for each new recoverable diagnostic.

Inherited from ​

CreateI18nOptions.diagnosticSink


fallbackLocales? ​

readonly optional fallbackLocales?: readonly string[]

Defined in: i18n/dist/types.d.ts:161

Ordered locale fallbacks. English remains the final implicit fallback.

Inherited from ​

CreateI18nOptions.fallbackLocales


locale? ​

readonly optional locale?: string

Defined in: i18n/dist/types.d.ts:159

Explicit locale, or auto to opt into environment detection. Defaults to en.

Inherited from ​

CreateI18nOptions.locale


signal? ​

readonly optional signal?: AbortSignal

Defined in: i18n/dist/types.d.ts:195

Optional caller-owned cancellation signal.


sources ​

readonly sources: readonly CatalogSource[]

Defined in: i18n/dist/types.d.ts:193

Sources whose results are merged in declaration order; at most 256 sources may be started.