InitOptions
Unofficial
Configuration options for initializing i18next.
Import:
import type { InitOptions } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface InitOptionsProperties
| Property | Type | Description | |
|---|---|---|---|
| debug? | boolean | Whether to enable debug mode. | |
| defaultNS? | false | string | Default namespace to use. | |
| fallbackLng? | false | string | string[] | Fallback language or languages when translation is not found. | |
| fallbackNS? | false | string | string[] | Fallback namespace or namespaces. | |
| interpolation? | InterpolationOptions | Interpolation options. | |
| lng? | string | Active language code. | |
| ns? | string | string[] | Namespace or namespaces to load. | |
| resources? | Record<string, Record<string, Record<string, string>>> | Pre-loaded translation resources. | |
| supportedLngs? | false | string[] | List of supported language codes, or false to allow all. |
Links to this page: