Skip to content

general

Vue I18n General APIs

This is providing APIs for internationalization functionalities.

Variables

VariableDescription
DatetimeFormatDatetime Format Component
I18nD
I18nInjectionKeyInjection key for useI18n
I18nN
I18nT
NumberFormatNumber Format Component
TranslationTranslation Component
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
DatetimeFormatPropsDatetimeFormat Component Props
DefaultDateTimeFormatSchema
DefaultLocaleMessageSchema
DefaultNumberFormatSchema
Disposer
FallbackLocale
I18nOptionsI18n Options for createI18n
I18nScopeI18n Scope
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
NumberFormatPropsNumberFormat Component Props
Path
PathValue
PickupFormatPathKeys
PickupKeys
PickupPaths
PluralizationRule
PostTranslationHandler
RemovedIndexResources
UseI18nOptionsI18n Options for useI18n
VueI18nInstance
VueMessageType

Released under the MIT License.