vue-i18n / general / ExportedGlobalComposer
Interface: ExportedGlobalComposer
Exported global composer instance
Remarks
This interface is the global composer that is provided interface that is injected into each component with app.config.globalProperties.
Vue I18n General
Properties
availableLocales
ts
readonly availableLocales: string[];Available locales
Remarks
This property is proxy-like property for Composer#availableLocales. About details, see the Composer#availableLocales
fallbackLocale
ts
fallbackLocale: FallbackLocale;Fallback locale
Remarks
This property is proxy-like property for Composer#fallbackLocale. About details, see the Composer#fallbackLocale
locale
ts
locale: string;Locale
Remarks
This property is proxy-like property for Composer#locale. About details, see the Composer#locale