Skip to content

vue-i18n / general

general

Vue I18n General APIs

This is providing APIs for internationalization functionalities.

Variables

VariableDescription
I18nInjectionKeyInjection key for useI18n
VERSIONVue I18n Version

Functions

FunctionDescription
createI18n-
useI18n-

Interfaces

InterfaceDescription
BaseFormatPropsBaseFormat Props for Components that is offered Vue I18n
CompileError-
ComposerComposer interfaces
ComposerAdditionalOptionsComposer additional options for useI18n
ComposerCustomThe type custom definition of Composer
ComposerDateTimeFormattingDatetime formatting functions
ComposerNumberFormattingNumber formatting functions
ComposerOptionsComposer Options
ComposerResolveLocaleMessageTranslationResolve locale message translation functions
ComposerTranslationLocale message translation functions
CustomBlock-
DateTimeOptionsDateTime options
DefineDateTimeFormatThe type definition of datetime format
DefineLocaleMessageThe type definition of Locale Message
DefineNumberFormatThe type definition of number format
ExportedGlobalComposerExported global composer instance
FormattablePropsFormattable Props
GeneratedTypeConfigThe interface used for narrowing types using generated types.
I18nI18n instance
I18nAdditionalOptionsI18n Additional Options
I18nPluginOptionsVue I18n plugin options
MessageContextThe message context.
NumberOptionsNumber Options
TranslateOptionsTranslate Options
TranslationPropsTranslation Component Props

Type Aliases

Type AliasDescription
ComponentI18nScope-
ComposerExtender-
CustomBlocks-
DatetimeFormatDatetime Format Component
DatetimeFormatPropsDatetimeFormat Component Props
DefaultDateTimeFormatSchema-
DefaultLocaleMessageSchema-
DefaultNumberFormatSchema-
Disposer-
FallbackLocale-
I18nD-
I18nN-
I18nOptionsI18n Options for createI18n
I18nScopeI18n Scope
I18nT-
IntlDateTimeFormat-
IntlDateTimeFormats-
IntlFormatMatcher-
IntlLocaleMatcher-
IntlNumberFormat-
IntlNumberFormats-
IsEmptyObject-
IsNever-
IsPart-
JsonPaths-
LinkedModifiers-
Locale-
LocaleMessageDictionary-
LocaleMessages-
LocaleMessageType-
LocaleMessageValue-
MessageCompilerThe message compiler
MessageCompilerContextThe context that will pass the message compiler.
MessageFunctionThe Message Function.
MessageFunctions-
MessageResolver-
MissingHandler-
NamedValue-
NumberFormatNumber Format Component
NumberFormatPropsNumberFormat Component Props
Path-
PathValue-
PickupFormatPathKeys-
PickupKeys-
PickupPaths-
PluralizationRule-
PostTranslationHandler-
RemovedIndexResources-
TranslationTranslation Component
UseI18nOptionsI18n Options for useI18n
VueI18nInstance-
VueMessageType-

Released under the MIT License.