Interface I18nOptions
interface I18nOptions {
defaultNS?: string;
fallbackLng?: string;
interpolation?: { escapeValue?: boolean };
lng?: string;
ns?: string[];
resources?: Record<string, Record<string, Record<string, string>>>;
}
defaultNS?: string;
fallbackLng?: string;
interpolation?: { escapeValue?: boolean };
lng?: string;
ns?: string[];
resources?: Record<string, Record<string, Record<string, string>>>;
}
Hierarchy
- InitOptions
- I18nOptions
Index
Properties
Properties
Optional
defaultNS
defaultNS?: string
Default namespace
Optional
fallbackLng
fallbackLng?: string
Fallback language
Optional
interpolation
interpolation?: { escapeValue?: boolean }
Interpolation options
Optional
lng
lng?: string
Default language
Optional
ns
ns?: string[]
Namespaces
Optional
resources
Resources for translations
Options for configuring internationalization