Skip to content

API reference / @localizer/x-vue / LocalizerPluginOptions

Interface: LocalizerPluginOptions
experimental
​

Defined in: lib/localizer-plugin.ts:28

Options for the Localizer plugin.

Properties ​

PropertyTypeDefault valueDescription
initialLocale?LocaleCodeundefined
experimental
The initial locale to set for the localizer. This is optional and will default to the configured fallback language if not provided.
useGlobalContext?booleantrue @alpha
experimental
If true, the plugin will use the global context for localization. This is useful for applications that want to provide a global localization context. If not set, the context must be provided manually using <LocalizationContext>.