vue-i18n / general
general
Vue I18n 通用 API
这提供了国际化功能的 API。
变量
| 变量 | 描述 |
|---|---|
| I18nInjectionKey | useI18n 的注入键 |
| VERSION | Vue I18n 版本 |
函数
| 函数 | 描述 |
|---|---|
| createI18n | - |
| useI18n | - |
接口
| 接口 | 描述 |
|---|---|
| BaseFormatProps | Vue I18n 提供的组件的基础格式属性 |
| CompileError | - |
| Composer | Composers 接口 |
| ComposerAdditionalOptions | useI18n 的 Composers 额外选项 |
| ComposerCustom | Composers 的类型自定义定义 |
| ComposerDateTimeFormatting | 日期时间格式化函数 |
| ComposerNumberFormatting | 数字格式化函数 |
| ComposerOptions | Composers 选项 |
| ComposerResolveLocaleMessageTranslation | 解析本地消息翻译函数 |
| ComposerTranslation | 本地消息翻译函数 |
| CustomBlock | - |
| DateTimeOptions | 日期时间选项 |
| DefineDateTimeFormat | 日期时间格式的类型定义 |
| DefineLocaleMessage | 本地消息的类型定义 |
| DefineNumberFormat | 数字格式的类型定义 |
| ExportedGlobalComposer | 导出的全局 composers 实例 |
| FormattableProps | 可格式化属性 |
| GeneratedTypeConfig | 用于使用生成的类型缩小类型的接口。 |
| I18n | I18n 实例 |
| I18nAdditionalOptions | I18n 额外选项 |
| I18nPluginOptions | Vue I18n 插件选项 |
| MessageContext | 消息上下文。 |
| NumberOptions | 数字选项 |
| TranslateOptions | 翻译选项 |
| TranslationProps | 翻译组件属性 |