I18nModuleOptions
interfaz
ts
import type { I18nModuleOptions } from "@meekojs/meeko/i18n/module";Código fuente src/modules/i18n/module.ts:9
Declaración #
ts
interface I18nModuleOptions {
readonly defaultLocale: string
readonly catalogs: Readonly<Record<string, string | Readonly<Record<string, string>>>>
readonly routes?: Readonly<Record<string, readonly string[]>>
readonly directions?: Readonly<Record<string, 'ltr' | 'rtl'>>
}Propiedades #
catalogs
#
readonly catalogs: Readonly<Record<string, string | Readonly<Record<string, string>>>>JSON catalog path, or named catalog paths, for each locale. common loads on every route.
routes
#
readonly routes?: Readonly<Record<string, readonly string[]>>Additional catalog namespaces for each exact route ID in the Meeko manifest.
directions
#
readonly directions?: Readonly<Record<string, 'ltr' | 'rtl'>>Text direction overrides; all other locales use ltr.