ORIGAM_LOCALE_KEY

const
Injection Keys

Vue provide/inject symbol that carries the combined ILocaleInstance & IRtlInstance context (current locale, t() translator, isRtl flag, rtlClasses) from the origam locale provider to all components consuming useLocale().

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Setting the locale at plugin level

typescript