diff --git a/README.md b/README.md
index ecff34a08..859cceb41 100644
--- a/README.md
+++ b/README.md
@@ -157,7 +157,7 @@ yarn add vue-i18n@next
- [x] number function
- [x] warnHtmlMessage
- [x] improve translate `args` typing
- - [ ] improve locale messages typing: `LocaleMessages` / `LocaleMessage` / `LocaleMessageDictiory`
+ - [x] improve locale messages typing: `LocaleMessages` / `LocaleMessage` / `LocaleMessageDictiory`
- [x] postTranslation context option
- Composable API: I18n Composer
- properties
diff --git a/docs/vue-i18n.availabilities.md b/docs/vue-i18n.availabilities.md
deleted file mode 100644
index 0bf9509e6..000000000
--- a/docs/vue-i18n.availabilities.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [Availabilities](./vue-i18n.availabilities.md)
-
-## Availabilities variable
-
-Signature:
-
-```typescript
-Availabilities: IntlAvailability
-```
diff --git a/docs/vue-i18n.baseformatprops.locale.md b/docs/vue-i18n.baseformatprops.locale.md
new file mode 100644
index 000000000..12e320337
--- /dev/null
+++ b/docs/vue-i18n.baseformatprops.locale.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [BaseFormatProps](./vue-i18n.baseformatprops.md) > [locale](./vue-i18n.baseformatprops.locale.md)
+
+## BaseFormatProps.locale property
+
+Signature:
+
+```typescript
+locale?: Locale;
+```
diff --git a/docs/vue-i18n.baseformatprops.md b/docs/vue-i18n.baseformatprops.md
new file mode 100644
index 000000000..05071a904
--- /dev/null
+++ b/docs/vue-i18n.baseformatprops.md
@@ -0,0 +1,20 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [BaseFormatProps](./vue-i18n.baseformatprops.md)
+
+## BaseFormatProps interface
+
+Signature:
+
+```typescript
+export interface BaseFormatProps
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [locale](./vue-i18n.baseformatprops.locale.md) | Locale
| |
+| [scope](./vue-i18n.baseformatprops.scope.md) | ComponetI18nScope
| |
+| [tag](./vue-i18n.baseformatprops.tag.md) | string
| |
+
diff --git a/docs/vue-i18n.baseformatprops.scope.md b/docs/vue-i18n.baseformatprops.scope.md
new file mode 100644
index 000000000..c3462873c
--- /dev/null
+++ b/docs/vue-i18n.baseformatprops.scope.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [BaseFormatProps](./vue-i18n.baseformatprops.md) > [scope](./vue-i18n.baseformatprops.scope.md)
+
+## BaseFormatProps.scope property
+
+Signature:
+
+```typescript
+scope?: ComponetI18nScope;
+```
diff --git a/docs/vue-i18n.baseformatprops.tag.md b/docs/vue-i18n.baseformatprops.tag.md
new file mode 100644
index 000000000..05ec30505
--- /dev/null
+++ b/docs/vue-i18n.baseformatprops.tag.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [BaseFormatProps](./vue-i18n.baseformatprops.md) > [tag](./vue-i18n.baseformatprops.tag.md)
+
+## BaseFormatProps.tag property
+
+Signature:
+
+```typescript
+tag?: string;
+```
diff --git a/docs/vue-i18n.clearcompilecache.md b/docs/vue-i18n.clearcompilecache.md
new file mode 100644
index 000000000..331af4850
--- /dev/null
+++ b/docs/vue-i18n.clearcompilecache.md
@@ -0,0 +1,15 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [clearCompileCache](./vue-i18n.clearcompilecache.md)
+
+## clearCompileCache() function
+
+Signature:
+
+```typescript
+export declare function clearCompileCache(): void;
+```
+Returns:
+
+`void`
+
diff --git a/docs/vue-i18n.cleardatetimeformat.md b/docs/vue-i18n.cleardatetimeformat.md
new file mode 100644
index 000000000..6f5ac894d
--- /dev/null
+++ b/docs/vue-i18n.cleardatetimeformat.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [clearDateTimeFormat](./vue-i18n.cleardatetimeformat.md)
+
+## clearDateTimeFormat() function
+
+Signature:
+
+```typescript
+export declare function clearDateTimeFormat(ctx: RuntimeDateTimeContext, locale: Locale, format: DateTimeFormat): void;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| ctx | RuntimeDateTimeContext<DateTimeFormats, Message>
| |
+| locale | Locale
| |
+| format | DateTimeFormat
| |
+
+Returns:
+
+`void`
+
diff --git a/docs/vue-i18n.clearnumberformat.md b/docs/vue-i18n.clearnumberformat.md
new file mode 100644
index 000000000..4bdc6b96c
--- /dev/null
+++ b/docs/vue-i18n.clearnumberformat.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [clearNumberFormat](./vue-i18n.clearnumberformat.md)
+
+## clearNumberFormat() function
+
+Signature:
+
+```typescript
+export declare function clearNumberFormat(ctx: RuntimeNumberContext, locale: Locale, format: NumberFormat): void;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| ctx | RuntimeNumberContext<NumberFormats, Message>
| |
+| locale | Locale
| |
+| format | NumberFormat
| |
+
+Returns:
+
+`void`
+
diff --git a/docs/vue-i18n.compile.md b/docs/vue-i18n.compile.md
index 8deab810f..8049cc2a3 100644
--- a/docs/vue-i18n.compile.md
+++ b/docs/vue-i18n.compile.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-export declare function compile(source: string, options?: CompileOptions): MessageFunction;
+export declare function compile(source: string, options?: CompileOptions): MessageFunction;
```
## Parameters
@@ -19,5 +19,5 @@ export declare function compile(source: string, options?: CompileOptions): Messa
Returns:
-`MessageFunction`
+`MessageFunction`
diff --git a/docs/vue-i18n.compileerror.code.md b/docs/vue-i18n.compileerror.code.md
index 3b16f6c74..4ad51a2f4 100644
--- a/docs/vue-i18n.compileerror.code.md
+++ b/docs/vue-i18n.compileerror.code.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-code: CompileErrorCodes;
+code: number;
```
diff --git a/docs/vue-i18n.compileerror.md b/docs/vue-i18n.compileerror.md
index 32137808b..723017876 100644
--- a/docs/vue-i18n.compileerror.md
+++ b/docs/vue-i18n.compileerror.md
@@ -14,7 +14,7 @@ export interface CompileError extends SyntaxError
| Property | Type | Description |
| --- | --- | --- |
-| [code](./vue-i18n.compileerror.code.md) | CompileErrorCodes
| |
+| [code](./vue-i18n.compileerror.code.md) | number
| |
| [domain](./vue-i18n.compileerror.domain.md) | CompileDomain
| |
| [location](./vue-i18n.compileerror.location.md) | SourceLocation
| |
diff --git a/docs/vue-i18n.compileerrorcodes.md b/docs/vue-i18n.compileerrorcodes.md
index 77caeb395..de88f1063 100644
--- a/docs/vue-i18n.compileerrorcodes.md
+++ b/docs/vue-i18n.compileerrorcodes.md
@@ -14,7 +14,7 @@ export declare const enum CompileErrorCodes
| Member | Value | Description |
| --- | --- | --- |
-| \_\_EXTEND\_POINT\_\_ | 11
| |
+| \_\_EXTEND\_POINT\_\_ | 12
| |
| EMPTY\_PLACEHOLDER | 7
| |
| EXPECTED\_TOKEN | 0
| |
| INVALID\_LINKED\_FORMAT | 9
| |
@@ -23,6 +23,7 @@ export declare const enum CompileErrorCodes
| MUST\_HAVE\_MESSAGES\_IN\_PLURAL | 10
| |
| NOT\_ALLOW\_NEST\_PLACEHOLDER | 8
| |
| UNBALANCED\_CLOSING\_BRACE | 5
| |
+| UNEXPECTED\_LEXICAL\_ANALYSIS | 11
| |
| UNKNOWN\_ESCAPE\_SEQUENCE | 3
| |
| UNTERMINATED\_CLOSING\_BRACE | 6
| |
| UNTERMINATED\_SINGLE\_QUOTE\_IN\_PLACEHOLDER | 2
| |
diff --git a/docs/vue-i18n.componeti18nscope.md b/docs/vue-i18n.componeti18nscope.md
new file mode 100644
index 000000000..887648c01
--- /dev/null
+++ b/docs/vue-i18n.componeti18nscope.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [ComponetI18nScope](./vue-i18n.componeti18nscope.md)
+
+## ComponetI18nScope type
+
+Signature:
+
+```typescript
+export declare type ComponetI18nScope = Exclude;
+```
diff --git a/docs/vue-i18n.composer.getlocalemessage.md b/docs/vue-i18n.composer.getlocalemessage.md
index 51c5dad0d..262e3fe38 100644
--- a/docs/vue-i18n.composer.getlocalemessage.md
+++ b/docs/vue-i18n.composer.getlocalemessage.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-getLocaleMessage(locale: Locale): LocaleMessage;
+getLocaleMessage(locale: Locale): LocaleMessageDictionary;
```
## Parameters
@@ -18,5 +18,5 @@ getLocaleMessage(locale: Locale): LocaleMessage;
Returns:
-`LocaleMessage`
+`LocaleMessageDictionary`
diff --git a/docs/vue-i18n.composer.getposttranslationhandler.md b/docs/vue-i18n.composer.getposttranslationhandler.md
index 867ee5040..c28aa475f 100644
--- a/docs/vue-i18n.composer.getposttranslationhandler.md
+++ b/docs/vue-i18n.composer.getposttranslationhandler.md
@@ -7,9 +7,9 @@
Signature:
```typescript
-getPostTranslationHandler(): PostTranslationHandler | null;
+getPostTranslationHandler(): PostTranslationHandler | null;
```
Returns:
-`PostTranslationHandler | null`
+`PostTranslationHandler | null`
diff --git a/docs/vue-i18n.composer.md b/docs/vue-i18n.composer.md
index 77e37a4a8..e431682e8 100644
--- a/docs/vue-i18n.composer.md
+++ b/docs/vue-i18n.composer.md
@@ -9,7 +9,7 @@ Composer Interfaces
Signature:
```typescript
-export interface Composer
+export interface Composer
```
## Remarks
@@ -29,9 +29,9 @@ This is the interface for being used for Vue 3 Composition API.
| [inheritLocale](./vue-i18n.composer.inheritlocale.md) | boolean
| |
| [isGlobal](./vue-i18n.composer.isglobal.md) | boolean
| |
| [locale](./vue-i18n.composer.locale.md) | WritableComputedRef<Locale>
| |
-| [messages](./vue-i18n.composer.messages.md) | ComputedRef<LocaleMessages>
| |
+| [messages](./vue-i18n.composer.messages.md) | ComputedRef<Messages>
| |
| [missingWarn](./vue-i18n.composer.missingwarn.md) | boolean | RegExp
| |
-| [modifiers](./vue-i18n.composer.modifiers.md) | LinkedModifiers
| |
+| [modifiers](./vue-i18n.composer.modifiers.md) | LinkedModifiers<Message>
| |
| [numberFormats](./vue-i18n.composer.numberformats.md) | ComputedRef<NumberFormats>
| |
| [pluralRules](./vue-i18n.composer.pluralrules.md) | PluralizationRules
| |
| [warnHtmlMessage](./vue-i18n.composer.warnhtmlmessage.md) | boolean
| |
diff --git a/docs/vue-i18n.composer.mergelocalemessage.md b/docs/vue-i18n.composer.mergelocalemessage.md
index f1a908391..f0a0ce9fe 100644
--- a/docs/vue-i18n.composer.mergelocalemessage.md
+++ b/docs/vue-i18n.composer.mergelocalemessage.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-mergeLocaleMessage(locale: Locale, message: LocaleMessage): void;
+mergeLocaleMessage(locale: Locale, message: LocaleMessageDictionary): void;
```
## Parameters
@@ -15,7 +15,7 @@ mergeLocaleMessage(locale: Locale, message: LocaleMessage): void;
| Parameter | Type | Description |
| --- | --- | --- |
| locale | Locale
| |
-| message | LocaleMessage
| |
+| message | LocaleMessageDictionary<Message>
| |
Returns:
diff --git a/docs/vue-i18n.composer.messages.md b/docs/vue-i18n.composer.messages.md
index 0ea55ece7..bd5cbaacc 100644
--- a/docs/vue-i18n.composer.messages.md
+++ b/docs/vue-i18n.composer.messages.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-readonly messages: ComputedRef;
+readonly messages: ComputedRef;
```
diff --git a/docs/vue-i18n.composer.modifiers.md b/docs/vue-i18n.composer.modifiers.md
index 99fbd38f8..16fbde6fb 100644
--- a/docs/vue-i18n.composer.modifiers.md
+++ b/docs/vue-i18n.composer.modifiers.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-readonly modifiers: LinkedModifiers;
+readonly modifiers: LinkedModifiers;
```
diff --git a/docs/vue-i18n.composer.setlocalemessage.md b/docs/vue-i18n.composer.setlocalemessage.md
index e646de36b..287922df8 100644
--- a/docs/vue-i18n.composer.setlocalemessage.md
+++ b/docs/vue-i18n.composer.setlocalemessage.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-setLocaleMessage(locale: Locale, message: LocaleMessage): void;
+setLocaleMessage(locale: Locale, message: LocaleMessageDictionary): void;
```
## Parameters
@@ -15,7 +15,7 @@ setLocaleMessage(locale: Locale, message: LocaleMessage): void;
| Parameter | Type | Description |
| --- | --- | --- |
| locale | Locale
| |
-| message | LocaleMessage
| |
+| message | LocaleMessageDictionary<Message>
| |
Returns:
diff --git a/docs/vue-i18n.composer.setposttranslationhandler.md b/docs/vue-i18n.composer.setposttranslationhandler.md
index 51dd0bd1d..c309bf7b4 100644
--- a/docs/vue-i18n.composer.setposttranslationhandler.md
+++ b/docs/vue-i18n.composer.setposttranslationhandler.md
@@ -7,14 +7,14 @@
Signature:
```typescript
-setPostTranslationHandler(handler: PostTranslationHandler | null): void;
+setPostTranslationHandler(handler: PostTranslationHandler | null): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
-| handler | PostTranslationHandler | null
| |
+| handler | PostTranslationHandler<Message> | null
| |
Returns:
diff --git a/docs/vue-i18n.composeroptions.datetimeformats.md b/docs/vue-i18n.composeroptions.datetimeformats.md
index befbfa38a..b45cab0e5 100644
--- a/docs/vue-i18n.composeroptions.datetimeformats.md
+++ b/docs/vue-i18n.composeroptions.datetimeformats.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-datetimeFormats?: DateTimeFormats;
+datetimeFormats?: DateTimeFormatsType;
```
diff --git a/docs/vue-i18n.composeroptions.md b/docs/vue-i18n.composeroptions.md
index 847704ae3..45c59ce33 100644
--- a/docs/vue-i18n.composeroptions.md
+++ b/docs/vue-i18n.composeroptions.md
@@ -9,7 +9,7 @@ Composer Options
Signature:
```typescript
-export interface ComposerOptions
+export interface ComposerOptions
```
## Remarks
@@ -20,19 +20,19 @@ This is options to create composer.
| Property | Type | Description |
| --- | --- | --- |
-| [datetimeFormats](./vue-i18n.composeroptions.datetimeformats.md) | DateTimeFormats
| |
+| [datetimeFormats](./vue-i18n.composeroptions.datetimeformats.md) | DateTimeFormatsType
| |
| [fallbackFormat](./vue-i18n.composeroptions.fallbackformat.md) | boolean
| |
| [fallbackLocale](./vue-i18n.composeroptions.fallbacklocale.md) | FallbackLocale
| |
| [fallbackRoot](./vue-i18n.composeroptions.fallbackroot.md) | boolean
| |
| [fallbackWarn](./vue-i18n.composeroptions.fallbackwarn.md) | boolean | RegExp
| |
| [inheritLocale](./vue-i18n.composeroptions.inheritlocale.md) | boolean
| |
| [locale](./vue-i18n.composeroptions.locale.md) | Locale
| |
-| [messages](./vue-i18n.composeroptions.messages.md) | LocaleMessages
| |
+| [messages](./vue-i18n.composeroptions.messages.md) | LocaleMessages<Message>
| |
| [missing](./vue-i18n.composeroptions.missing.md) | MissingHandler
| |
| [missingWarn](./vue-i18n.composeroptions.missingwarn.md) | boolean | RegExp
| |
-| [modifiers](./vue-i18n.composeroptions.modifiers.md) | LinkedModifiers
| |
-| [numberFormats](./vue-i18n.composeroptions.numberformats.md) | NumberFormats
| |
+| [modifiers](./vue-i18n.composeroptions.modifiers.md) | LinkedModifiers<Message>
| |
+| [numberFormats](./vue-i18n.composeroptions.numberformats.md) | NumberFormatsType
| |
| [pluralRules](./vue-i18n.composeroptions.pluralrules.md) | PluralizationRules
| |
-| [postTranslation](./vue-i18n.composeroptions.posttranslation.md) | PostTranslationHandler
| |
+| [postTranslation](./vue-i18n.composeroptions.posttranslation.md) | PostTranslationHandler<Message>
| |
| [warnHtmlMessage](./vue-i18n.composeroptions.warnhtmlmessage.md) | boolean
| |
diff --git a/docs/vue-i18n.composeroptions.messages.md b/docs/vue-i18n.composeroptions.messages.md
index 4b260c3e3..b72dfc0e0 100644
--- a/docs/vue-i18n.composeroptions.messages.md
+++ b/docs/vue-i18n.composeroptions.messages.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-messages?: LocaleMessages;
+messages?: LocaleMessages;
```
diff --git a/docs/vue-i18n.composeroptions.modifiers.md b/docs/vue-i18n.composeroptions.modifiers.md
index 66fcb6e79..5159817c4 100644
--- a/docs/vue-i18n.composeroptions.modifiers.md
+++ b/docs/vue-i18n.composeroptions.modifiers.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-modifiers?: LinkedModifiers;
+modifiers?: LinkedModifiers;
```
diff --git a/docs/vue-i18n.composeroptions.numberformats.md b/docs/vue-i18n.composeroptions.numberformats.md
index bcadaa30d..5dc0298e6 100644
--- a/docs/vue-i18n.composeroptions.numberformats.md
+++ b/docs/vue-i18n.composeroptions.numberformats.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-numberFormats?: NumberFormats;
+numberFormats?: NumberFormatsType;
```
diff --git a/docs/vue-i18n.composeroptions.posttranslation.md b/docs/vue-i18n.composeroptions.posttranslation.md
index 827dd752b..83473f530 100644
--- a/docs/vue-i18n.composeroptions.posttranslation.md
+++ b/docs/vue-i18n.composeroptions.posttranslation.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-postTranslation?: PostTranslationHandler;
+postTranslation?: PostTranslationHandler;
```
diff --git a/docs/vue-i18n.createi18n.md b/docs/vue-i18n.createi18n.md
index c967bf716..a658d70c6 100644
--- a/docs/vue-i18n.createi18n.md
+++ b/docs/vue-i18n.createi18n.md
@@ -9,18 +9,18 @@ I18n factory function
Signature:
```typescript
-export declare function createI18n(options?: I18nOptions): I18n;
+export declare function createI18n> = Record>, DateTimeFormats extends Record = Record, NumberFormats extends Record = Record>(options?: Options): I18n;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
-| options | I18nOptions
| see the [I18nOptions](./vue-i18n.i18noptions.md) |
+| options | Options
| see the [I18nOptions](./vue-i18n.i18noptions.md) |
Returns:
-`I18n`
+`I18n`
[I18n](./vue-i18n.i18n.md) object
diff --git a/docs/vue-i18n.createruntimecontext.md b/docs/vue-i18n.createruntimecontext.md
new file mode 100644
index 000000000..a838f8e87
--- /dev/null
+++ b/docs/vue-i18n.createruntimecontext.md
@@ -0,0 +1,22 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [createRuntimeContext](./vue-i18n.createruntimecontext.md)
+
+## createRuntimeContext() function
+
+Signature:
+
+```typescript
+export declare function createRuntimeContext = object, Messages extends Record> = Record>, DateTimeFormats extends Record = Record, NumberFormats extends Record = Record>(options?: Options): RuntimeContext;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| options | Options
| |
+
+Returns:
+
+`RuntimeContext`
+
diff --git a/docs/vue-i18n.currencydisplay.md b/docs/vue-i18n.currencydisplay.md
deleted file mode 100644
index 1ded3ecbc..000000000
--- a/docs/vue-i18n.currencydisplay.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [CurrencyDisplay](./vue-i18n.currencydisplay.md)
-
-## CurrencyDisplay type
-
-number
-
-Signature:
-
-```typescript
-export declare type CurrencyDisplay = 'symbol' | 'code' | 'name';
-```
diff --git a/docs/vue-i18n.currencynumberformatoptions.currency.md b/docs/vue-i18n.currencynumberformatoptions.currency.md
deleted file mode 100644
index 86fb99a13..000000000
--- a/docs/vue-i18n.currencynumberformatoptions.currency.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [CurrencyNumberFormatOptions](./vue-i18n.currencynumberformatoptions.md) > [currency](./vue-i18n.currencynumberformatoptions.currency.md)
-
-## CurrencyNumberFormatOptions.currency property
-
-Signature:
-
-```typescript
-currency: string;
-```
diff --git a/docs/vue-i18n.currencynumberformatoptions.currencydisplay.md b/docs/vue-i18n.currencynumberformatoptions.currencydisplay.md
deleted file mode 100644
index b3b6f31ba..000000000
--- a/docs/vue-i18n.currencynumberformatoptions.currencydisplay.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [CurrencyNumberFormatOptions](./vue-i18n.currencynumberformatoptions.md) > [currencyDisplay](./vue-i18n.currencynumberformatoptions.currencydisplay.md)
-
-## CurrencyNumberFormatOptions.currencyDisplay property
-
-Signature:
-
-```typescript
-currencyDisplay?: CurrencyDisplay;
-```
diff --git a/docs/vue-i18n.currencynumberformatoptions.formatmatcher.md b/docs/vue-i18n.currencynumberformatoptions.formatmatcher.md
deleted file mode 100644
index 47ec04d34..000000000
--- a/docs/vue-i18n.currencynumberformatoptions.formatmatcher.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [CurrencyNumberFormatOptions](./vue-i18n.currencynumberformatoptions.md) > [formatMatcher](./vue-i18n.currencynumberformatoptions.formatmatcher.md)
-
-## CurrencyNumberFormatOptions.formatMatcher property
-
-Signature:
-
-```typescript
-formatMatcher?: 'basic' | 'best-fit';
-```
diff --git a/docs/vue-i18n.currencynumberformatoptions.localematcher.md b/docs/vue-i18n.currencynumberformatoptions.localematcher.md
deleted file mode 100644
index 4caedbf12..000000000
--- a/docs/vue-i18n.currencynumberformatoptions.localematcher.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [CurrencyNumberFormatOptions](./vue-i18n.currencynumberformatoptions.md) > [localeMatcher](./vue-i18n.currencynumberformatoptions.localematcher.md)
-
-## CurrencyNumberFormatOptions.localeMatcher property
-
-Signature:
-
-```typescript
-localeMatcher?: 'lookup' | 'best-fit';
-```
diff --git a/docs/vue-i18n.currencynumberformatoptions.md b/docs/vue-i18n.currencynumberformatoptions.md
deleted file mode 100644
index 5098277d7..000000000
--- a/docs/vue-i18n.currencynumberformatoptions.md
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [CurrencyNumberFormatOptions](./vue-i18n.currencynumberformatoptions.md)
-
-## CurrencyNumberFormatOptions interface
-
-Signature:
-
-```typescript
-export interface CurrencyNumberFormatOptions extends Intl.NumberFormatOptions
-```
-
-## Properties
-
-| Property | Type | Description |
-| --- | --- | --- |
-| [currency](./vue-i18n.currencynumberformatoptions.currency.md) | string
| |
-| [currencyDisplay](./vue-i18n.currencynumberformatoptions.currencydisplay.md) | CurrencyDisplay
| |
-| [formatMatcher](./vue-i18n.currencynumberformatoptions.formatmatcher.md) | 'basic' | 'best-fit'
| |
-| [localeMatcher](./vue-i18n.currencynumberformatoptions.localematcher.md) | 'lookup' | 'best-fit'
| |
-| [style](./vue-i18n.currencynumberformatoptions.style.md) | 'currency'
| |
-
diff --git a/docs/vue-i18n.currencynumberformatoptions.style.md b/docs/vue-i18n.currencynumberformatoptions.style.md
deleted file mode 100644
index 01de5a709..000000000
--- a/docs/vue-i18n.currencynumberformatoptions.style.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [CurrencyNumberFormatOptions](./vue-i18n.currencynumberformatoptions.md) > [style](./vue-i18n.currencynumberformatoptions.style.md)
-
-## CurrencyNumberFormatOptions.style property
-
-Signature:
-
-```typescript
-style: 'currency';
-```
diff --git a/docs/vue-i18n.customblocks.md b/docs/vue-i18n.customblocks.md
new file mode 100644
index 000000000..e00e40923
--- /dev/null
+++ b/docs/vue-i18n.customblocks.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [CustomBlocks](./vue-i18n.customblocks.md)
+
+## CustomBlocks type
+
+Signature:
+
+```typescript
+export declare type CustomBlocks = Array> | PreCompileHandler;
+```
diff --git a/docs/vue-i18n.datetime.md b/docs/vue-i18n.datetime.md
new file mode 100644
index 000000000..447afe5bc
--- /dev/null
+++ b/docs/vue-i18n.datetime.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [datetime](./vue-i18n.datetime.md)
+
+## datetime() function
+
+Signature:
+
+```typescript
+export declare function datetime(context: RuntimeDateTimeContext, value: number | Date): string | number | Intl.DateTimeFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeDateTimeContext<DateTimeFormats, Message>
| |
+| value | number | Date
| |
+
+Returns:
+
+`string | number | Intl.DateTimeFormatPart[]`
+
diff --git a/docs/vue-i18n.datetime_1.md b/docs/vue-i18n.datetime_1.md
new file mode 100644
index 000000000..3ae2f337d
--- /dev/null
+++ b/docs/vue-i18n.datetime_1.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [datetime](./vue-i18n.datetime_1.md)
+
+## datetime() function
+
+Signature:
+
+```typescript
+export declare function datetime(context: RuntimeDateTimeContext, value: number | Date, key: string): string | number | Intl.DateTimeFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeDateTimeContext<DateTimeFormats, Message>
| |
+| value | number | Date
| |
+| key | string
| |
+
+Returns:
+
+`string | number | Intl.DateTimeFormatPart[]`
+
diff --git a/docs/vue-i18n.datetime_2.md b/docs/vue-i18n.datetime_2.md
new file mode 100644
index 000000000..1d6559d82
--- /dev/null
+++ b/docs/vue-i18n.datetime_2.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [datetime](./vue-i18n.datetime_2.md)
+
+## datetime() function
+
+Signature:
+
+```typescript
+export declare function datetime(context: RuntimeDateTimeContext, value: number | Date, key: string, locale: Locale): string | number | Intl.DateTimeFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeDateTimeContext<DateTimeFormats, Message>
| |
+| value | number | Date
| |
+| key | string
| |
+| locale | Locale
| |
+
+Returns:
+
+`string | number | Intl.DateTimeFormatPart[]`
+
diff --git a/docs/vue-i18n.datetime_3.md b/docs/vue-i18n.datetime_3.md
new file mode 100644
index 000000000..29e5fb742
--- /dev/null
+++ b/docs/vue-i18n.datetime_3.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [datetime](./vue-i18n.datetime_3.md)
+
+## datetime() function
+
+Signature:
+
+```typescript
+export declare function datetime(context: RuntimeDateTimeContext, value: number | Date, options: DateTimeOptions): string | number | Intl.DateTimeFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeDateTimeContext<DateTimeFormats, Message>
| |
+| value | number | Date
| |
+| options | DateTimeOptions
| |
+
+Returns:
+
+`string | number | Intl.DateTimeFormatPart[]`
+
diff --git a/docs/vue-i18n.datetime_4.md b/docs/vue-i18n.datetime_4.md
new file mode 100644
index 000000000..0f7917fab
--- /dev/null
+++ b/docs/vue-i18n.datetime_4.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [datetime](./vue-i18n.datetime_4.md)
+
+## datetime() function
+
+Signature:
+
+```typescript
+export declare function datetime(context: RuntimeDateTimeContext, ...args: unknown[]): string | number | Intl.DateTimeFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeDateTimeContext<DateTimeFormats, Message>
| |
+| args | unknown[]
| |
+
+Returns:
+
+`string | number | Intl.DateTimeFormatPart[]`
+
diff --git a/docs/vue-i18n.datetimedigital.md b/docs/vue-i18n.datetimedigital.md
deleted file mode 100644
index 2249e1587..000000000
--- a/docs/vue-i18n.datetimedigital.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [DateTimeDigital](./vue-i18n.datetimedigital.md)
-
-## DateTimeDigital type
-
-Signature:
-
-```typescript
-export declare type DateTimeDigital = 'numeric' | '2-digit';
-```
diff --git a/docs/vue-i18n.datetimeformat.md b/docs/vue-i18n.datetimeformat.md
index 575de4518..21b6a94d5 100644
--- a/docs/vue-i18n.datetimeformat.md
+++ b/docs/vue-i18n.datetimeformat.md
@@ -1,13 +1,81 @@
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [DateTimeFormat](./vue-i18n.datetimeformat.md)
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [DatetimeFormat](./vue-i18n.datetimeformat.md)
-## DateTimeFormat type
+## DatetimeFormat variable
Signature:
```typescript
-export declare type DateTimeFormat = {
- [key: string]: DateTimeFormatOptions;
-};
+DatetimeFormat: (new () => import("vue").ComponentPublicInstance<{
+ value: number | Date;
+ scope: "parent" | "global";
+} & {
+ format?: Intl.DateTimeFormatOptions | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}, import("vue").RenderFunction, {}, {}, {}, Record any) | null>, import("vue").VNodeProps & {
+ value: number | Date;
+} & {
+ format?: Intl.DateTimeFormatOptions | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+ scope?: "parent" | "global" | undefined;
+}, import("vue").ComponentOptionsBase<{
+ value: number | Date;
+ scope: "parent" | "global";
+} & {
+ format?: Intl.DateTimeFormatOptions | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}, import("vue").RenderFunction, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string>>) & import("vue").ComponentOptionsBase, import("vue").RenderFunction, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string> & {
+ props: {
+ value: {
+ type: PropType;
+ required: true;
+ };
+ format: {
+ type: PropType;
+ };
+ tag: {
+ type: StringConstructor;
+ };
+ locale: {
+ type: StringConstructor;
+ };
+ scope: {
+ type: PropType<"parent" | "global">;
+ validator: (val: "parent" | "global") => boolean;
+ default: "parent" | "global";
+ };
+ };
+} & ThisType, import("vue").RenderFunction, {}, {}, {}, Record any) | null>, Readonly<{
+ value: number | Date;
+ scope: "parent" | "global";
+} & {
+ format?: Intl.DateTimeFormatOptions | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}>, import("vue").ComponentOptionsBase, import("vue").RenderFunction, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string>>>
```
diff --git a/docs/vue-i18n.datetimeformatoptions.md b/docs/vue-i18n.datetimeformatoptions.md
deleted file mode 100644
index 8abed432d..000000000
--- a/docs/vue-i18n.datetimeformatoptions.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [DateTimeFormatOptions](./vue-i18n.datetimeformatoptions.md)
-
-## DateTimeFormatOptions type
-
-Signature:
-
-```typescript
-export declare type DateTimeFormatOptions = Intl.DateTimeFormatOptions | SpecificDateTimeFormatOptions;
-```
diff --git a/docs/vue-i18n.datetimeformatprops.md b/docs/vue-i18n.datetimeformatprops.md
new file mode 100644
index 000000000..97eb528b9
--- /dev/null
+++ b/docs/vue-i18n.datetimeformatprops.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [DatetimeFormatProps](./vue-i18n.datetimeformatprops.md)
+
+## DatetimeFormatProps type
+
+Signature:
+
+```typescript
+export declare type DatetimeFormatProps = FormattableProps;
+```
diff --git a/docs/vue-i18n.datetimehumanreadable.md b/docs/vue-i18n.datetimehumanreadable.md
deleted file mode 100644
index 9d8658ccd..000000000
--- a/docs/vue-i18n.datetimehumanreadable.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [DateTimeHumanReadable](./vue-i18n.datetimehumanreadable.md)
-
-## DateTimeHumanReadable type
-
-Signature:
-
-```typescript
-export declare type DateTimeHumanReadable = 'long' | 'short' | 'narrow';
-```
diff --git a/docs/vue-i18n.datetimeoptions.md b/docs/vue-i18n.datetimeoptions.md
new file mode 100644
index 000000000..6dd8e2dd9
--- /dev/null
+++ b/docs/vue-i18n.datetimeoptions.md
@@ -0,0 +1,37 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [DateTimeOptions](./vue-i18n.datetimeoptions.md)
+
+## DateTimeOptions type
+
+\# datetime
+
+\#\# usages: // for example `context.datetimeFormats` below 'en-US': { short: { year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit' } }, 'ja-JP': { ... }
+
+// datetimeable value only datetime(context, value)
+
+// key argument datetime(context, value, 'short')
+
+// key & locale argument datetime(context, value, 'short', 'ja-JP')
+
+// object sytle argument datetime(context, value, { key: 'short', locale: 'ja-JP' })
+
+// suppress localize miss warning option, override context.missingWarn datetime(context, value, { key: 'short', locale: 'ja-JP', missingWarn: false })
+
+// suppress localize fallback warning option, override context.fallbackWarn datetime(context, value, { key: 'short', locale: 'ja-JP', fallbackWarn: false })
+
+// if you specify `part` options, you can get an array of objects containing the formatted datetime in parts datetime(context, value, { key: 'short', part: true })
+
+// orverride context.datetimeFormats\[locale\] options with functino options datetime(cnotext, value, 'short', { currency: 'EUR' }) datetime(cnotext, value, 'short', 'ja-JP', { currency: 'EUR' }) datetime(context, value, { key: 'short', part: true }, { currency: 'EUR'})
+
+Signature:
+
+```typescript
+export declare type DateTimeOptions = {
+ key?: string;
+ locale?: Locale;
+ missingWarn?: boolean;
+ fallbackWarn?: boolean;
+ part?: boolean;
+};
+```
diff --git a/docs/vue-i18n.formattableprops.format.md b/docs/vue-i18n.formattableprops.format.md
new file mode 100644
index 000000000..50e226497
--- /dev/null
+++ b/docs/vue-i18n.formattableprops.format.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [FormattableProps](./vue-i18n.formattableprops.md) > [format](./vue-i18n.formattableprops.format.md)
+
+## FormattableProps.format property
+
+Signature:
+
+```typescript
+format?: string | Format;
+```
diff --git a/docs/vue-i18n.formattableprops.md b/docs/vue-i18n.formattableprops.md
new file mode 100644
index 000000000..0b4152d2e
--- /dev/null
+++ b/docs/vue-i18n.formattableprops.md
@@ -0,0 +1,19 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [FormattableProps](./vue-i18n.formattableprops.md)
+
+## FormattableProps interface
+
+Signature:
+
+```typescript
+export interface FormattableProps extends BaseFormatProps
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [format](./vue-i18n.formattableprops.format.md) | string | Format
| |
+| [value](./vue-i18n.formattableprops.value.md) | Value
| |
+
diff --git a/docs/vue-i18n.formattableprops.value.md b/docs/vue-i18n.formattableprops.value.md
new file mode 100644
index 000000000..1ea41611b
--- /dev/null
+++ b/docs/vue-i18n.formattableprops.value.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [FormattableProps](./vue-i18n.formattableprops.md) > [value](./vue-i18n.formattableprops.value.md)
+
+## FormattableProps.value property
+
+Signature:
+
+```typescript
+value: Value;
+```
diff --git a/docs/vue-i18n.formattednumberpart.md b/docs/vue-i18n.formattednumberpart.md
deleted file mode 100644
index 86220a7ec..000000000
--- a/docs/vue-i18n.formattednumberpart.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [FormattedNumberPart](./vue-i18n.formattednumberpart.md)
-
-## FormattedNumberPart type
-
-Signature:
-
-```typescript
-export declare type FormattedNumberPart = {
- type: FormattedNumberPartType;
- value: string;
-};
-```
diff --git a/docs/vue-i18n.formattednumberparttype.md b/docs/vue-i18n.formattednumberparttype.md
deleted file mode 100644
index 7319564b0..000000000
--- a/docs/vue-i18n.formattednumberparttype.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [FormattedNumberPartType](./vue-i18n.formattednumberparttype.md)
-
-## FormattedNumberPartType type
-
-Signature:
-
-```typescript
-export declare type FormattedNumberPartType = 'currency' | 'decimal' | 'fraction' | 'group' | 'infinity' | 'integer' | 'literal' | 'minusSign' | 'nan' | 'plusSign' | 'percentSign';
-```
diff --git a/docs/vue-i18n.getlocalechain.md b/docs/vue-i18n.getlocalechain.md
new file mode 100644
index 000000000..9e91ec2b1
--- /dev/null
+++ b/docs/vue-i18n.getlocalechain.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [getLocaleChain](./vue-i18n.getlocalechain.md)
+
+## getLocaleChain() function
+
+Signature:
+
+```typescript
+export declare function getLocaleChain(ctx: RuntimeCommonContext, fallback: FallbackLocale, start?: Locale): Locale[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| ctx | RuntimeCommonContext<Message>
| |
+| fallback | FallbackLocale
| |
+| start | Locale
| |
+
+Returns:
+
+`Locale[]`
+
diff --git a/docs/vue-i18n.handlemissing.md b/docs/vue-i18n.handlemissing.md
new file mode 100644
index 000000000..429b75432
--- /dev/null
+++ b/docs/vue-i18n.handlemissing.md
@@ -0,0 +1,26 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [handleMissing](./vue-i18n.handlemissing.md)
+
+## handleMissing() function
+
+Signature:
+
+```typescript
+export declare function handleMissing(context: RuntimeCommonContext, key: Path, locale: Locale, missingWarn: boolean | RegExp, type: RuntimeMissingType): unknown;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeCommonContext<Message>
| |
+| key | Path
| |
+| locale | Locale
| |
+| missingWarn | boolean | RegExp
| |
+| type | RuntimeMissingType
| |
+
+Returns:
+
+`unknown`
+
diff --git a/docs/vue-i18n.i18n.global.md b/docs/vue-i18n.i18n.global.md
index ecaac4e3c..62528c3e0 100644
--- a/docs/vue-i18n.i18n.global.md
+++ b/docs/vue-i18n.i18n.global.md
@@ -9,5 +9,5 @@ Global composer
Signature:
```typescript
-readonly global: Composer;
+readonly global: Composer;
```
diff --git a/docs/vue-i18n.i18n.md b/docs/vue-i18n.i18n.md
index bb3100d16..e3832680d 100644
--- a/docs/vue-i18n.i18n.md
+++ b/docs/vue-i18n.i18n.md
@@ -9,13 +9,13 @@ I18n interface
Signature:
```typescript
-export interface I18n
+export interface I18n
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
-| [global](./vue-i18n.i18n.global.md) | Composer
| Global composer |
+| [global](./vue-i18n.i18n.global.md) | Composer<Messages, DateTimeFormats, NumberFormats>
| Global composer |
| [mode](./vue-i18n.i18n.mode.md) | I18nMode
| I18n API mode |
diff --git a/docs/vue-i18n.i18n.mode.md b/docs/vue-i18n.i18n.mode.md
index 83e9edf04..ceaf79025 100644
--- a/docs/vue-i18n.i18n.mode.md
+++ b/docs/vue-i18n.i18n.mode.md
@@ -16,3 +16,5 @@ readonly mode: I18nMode;
if you specified `legacy: true` option in `createI18n`, return `legacy`, else `composable`
+ composable
+
diff --git a/docs/vue-i18n.i18nadditionaloptions.legacy.md b/docs/vue-i18n.i18nadditionaloptions.legacy.md
index e59e2ad1e..b724d02c2 100644
--- a/docs/vue-i18n.i18nadditionaloptions.legacy.md
+++ b/docs/vue-i18n.i18nadditionaloptions.legacy.md
@@ -6,6 +6,8 @@
Whether vue-i18n legacy API use on your Vue App.
+ false
+
Signature:
```typescript
diff --git a/docs/vue-i18n.i18nadditionaloptions.md b/docs/vue-i18n.i18nadditionaloptions.md
index b36cfbc20..ca56feb01 100644
--- a/docs/vue-i18n.i18nadditionaloptions.md
+++ b/docs/vue-i18n.i18nadditionaloptions.md
@@ -16,5 +16,5 @@ export interface I18nAdditionalOptions
| Property | Type | Description |
| --- | --- | --- |
-| [legacy](./vue-i18n.i18nadditionaloptions.legacy.md) | boolean
| Whether vue-i18n legacy API use on your Vue App. |
+| [legacy](./vue-i18n.i18nadditionaloptions.legacy.md) | boolean
| Whether vue-i18n legacy API use on your Vue App. false |
diff --git a/docs/vue-i18n.i18npluginoptions._i18n-t_.md b/docs/vue-i18n.i18npluginoptions._i18n-t_.md
deleted file mode 100644
index 75d7e7c6a..000000000
--- a/docs/vue-i18n.i18npluginoptions._i18n-t_.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [I18nPluginOptions](./vue-i18n.i18npluginoptions.md) > ["i18n-t"](./vue-i18n.i18npluginoptions._i18n-t_.md)
-
-## I18nPluginOptions."i18n-t" property
-
-Signature:
-
-```typescript
-'i18n-t'?: string;
-```
diff --git a/docs/vue-i18n.i18npluginoptions.globalinstall.md b/docs/vue-i18n.i18npluginoptions.globalinstall.md
new file mode 100644
index 000000000..69ad63c53
--- /dev/null
+++ b/docs/vue-i18n.i18npluginoptions.globalinstall.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [I18nPluginOptions](./vue-i18n.i18npluginoptions.md) > [globalInstall](./vue-i18n.i18npluginoptions.globalinstall.md)
+
+## I18nPluginOptions.globalInstall property
+
+Signature:
+
+```typescript
+globalInstall?: boolean;
+```
diff --git a/docs/vue-i18n.i18npluginoptions.md b/docs/vue-i18n.i18npluginoptions.md
index 4783f28e7..8d0ae2abb 100644
--- a/docs/vue-i18n.i18npluginoptions.md
+++ b/docs/vue-i18n.i18npluginoptions.md
@@ -20,5 +20,6 @@ An options specified when installing vue-i18n as Vue plugin with using `app.use`
| Property | Type | Description |
| --- | --- | --- |
-| ["i18n-t"](./vue-i18n.i18npluginoptions._i18n-t_.md) | string
| |
+| [globalInstall](./vue-i18n.i18npluginoptions.globalinstall.md) | boolean
| |
+| [useI18nComponentName](./vue-i18n.i18npluginoptions.usei18ncomponentname.md) | boolean
| |
diff --git a/docs/vue-i18n.i18npluginoptions.usei18ncomponentname.md b/docs/vue-i18n.i18npluginoptions.usei18ncomponentname.md
new file mode 100644
index 000000000..b6f8884c1
--- /dev/null
+++ b/docs/vue-i18n.i18npluginoptions.usei18ncomponentname.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [I18nPluginOptions](./vue-i18n.i18npluginoptions.md) > [useI18nComponentName](./vue-i18n.i18npluginoptions.usei18ncomponentname.md)
+
+## I18nPluginOptions.useI18nComponentName property
+
+Signature:
+
+```typescript
+useI18nComponentName?: boolean;
+```
diff --git a/docs/vue-i18n.intlavailability.md b/docs/vue-i18n.intlavailability.md
deleted file mode 100644
index 864a463bd..000000000
--- a/docs/vue-i18n.intlavailability.md
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [IntlAvailability](./vue-i18n.intlavailability.md)
-
-## IntlAvailability type
-
-datetime
-
-Signature:
-
-```typescript
-export declare type IntlAvailability = {
- dateTimeFormat: boolean;
- numberFormat: boolean;
-};
-```
diff --git a/docs/vue-i18n.istranslatemissingwarn.md b/docs/vue-i18n.istranslatemissingwarn.md
new file mode 100644
index 000000000..eecb2906b
--- /dev/null
+++ b/docs/vue-i18n.istranslatemissingwarn.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [isTranslateMissingWarn](./vue-i18n.istranslatemissingwarn.md)
+
+## isTranslateMissingWarn() function
+
+Signature:
+
+```typescript
+export declare function isTranslateMissingWarn(missing: boolean | RegExp, key: Path): boolean;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| missing | boolean | RegExp
| |
+| key | Path
| |
+
+Returns:
+
+`boolean`
+
diff --git a/docs/vue-i18n.istrarnslatefallbackwarn.md b/docs/vue-i18n.istrarnslatefallbackwarn.md
new file mode 100644
index 000000000..9d28d8409
--- /dev/null
+++ b/docs/vue-i18n.istrarnslatefallbackwarn.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [isTrarnslateFallbackWarn](./vue-i18n.istrarnslatefallbackwarn.md)
+
+## isTrarnslateFallbackWarn() function
+
+Signature:
+
+```typescript
+export declare function isTrarnslateFallbackWarn(fallback: boolean | RegExp, key: Path): boolean;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| fallback | boolean | RegExp
| |
+| key | Path
| |
+
+Returns:
+
+`boolean`
+
diff --git a/docs/vue-i18n.linkedmodifiers.md b/docs/vue-i18n.linkedmodifiers.md
index ea5ea7e5c..622cf84b7 100644
--- a/docs/vue-i18n.linkedmodifiers.md
+++ b/docs/vue-i18n.linkedmodifiers.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-export declare type LinkedModifiers = {
- [key: string]: LinkedModify;
+export declare type LinkedModifiers = {
+ [key: string]: LinkedModify;
};
```
diff --git a/docs/vue-i18n.localemessage.md b/docs/vue-i18n.localemessage.md
deleted file mode 100644
index 49c113752..000000000
--- a/docs/vue-i18n.localemessage.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [LocaleMessage](./vue-i18n.localemessage.md)
-
-## LocaleMessage type
-
-Signature:
-
-```typescript
-export declare type LocaleMessage = string | MessageFunction | LocaleMessageDictionary | LocaleMessage[];
-```
diff --git a/docs/vue-i18n.localemessagearray.md b/docs/vue-i18n.localemessagearray.md
new file mode 100644
index 000000000..721c8893e
--- /dev/null
+++ b/docs/vue-i18n.localemessagearray.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [LocaleMessageArray](./vue-i18n.localemessagearray.md)
+
+## LocaleMessageArray interface
+
+Signature:
+
+```typescript
+export interface LocaleMessageArray extends Array>
+```
diff --git a/docs/vue-i18n.localemessagedictionary.md b/docs/vue-i18n.localemessagedictionary.md
index 9396273c1..c43ae613a 100644
--- a/docs/vue-i18n.localemessagedictionary.md
+++ b/docs/vue-i18n.localemessagedictionary.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-export declare type LocaleMessageDictionary = {
- [property: string]: LocaleMessage;
+export declare type LocaleMessageDictionary = {
+ [property: string]: LocaleMessageValue;
};
```
diff --git a/docs/vue-i18n.localemessageobject.md b/docs/vue-i18n.localemessageobject.md
index 97f08fd55..2ff6cab41 100644
--- a/docs/vue-i18n.localemessageobject.md
+++ b/docs/vue-i18n.localemessageobject.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-export declare type LocaleMessageObject = LocaleMessageDictionary;
+export declare type LocaleMessageObject = LocaleMessageDictionary;
```
diff --git a/docs/vue-i18n.localemessages.md b/docs/vue-i18n.localemessages.md
index 8080bcffc..6596f8139 100644
--- a/docs/vue-i18n.localemessages.md
+++ b/docs/vue-i18n.localemessages.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-export declare type LocaleMessages = Record;
+export declare type LocaleMessages = Record>;
```
diff --git a/docs/vue-i18n.localemessagevalue.md b/docs/vue-i18n.localemessagevalue.md
new file mode 100644
index 000000000..fd7985da3
--- /dev/null
+++ b/docs/vue-i18n.localemessagevalue.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [LocaleMessageValue](./vue-i18n.localemessagevalue.md)
+
+## LocaleMessageValue type
+
+Signature:
+
+```typescript
+export declare type LocaleMessageValue = string | MessageFunction | LocaleMessageDictionary | LocaleMessageArray;
+```
diff --git a/docs/vue-i18n.md b/docs/vue-i18n.md
index cf2c1f57b..f7f220287 100644
--- a/docs/vue-i18n.md
+++ b/docs/vue-i18n.md
@@ -15,26 +15,72 @@
| Function | Description |
| --- | --- |
| [baseCompile(source, options)](./vue-i18n.basecompile.md) | |
+| [clearCompileCache()](./vue-i18n.clearcompilecache.md) | |
+| [clearDateTimeFormat(ctx, locale, format)](./vue-i18n.cleardatetimeformat.md) | |
+| [clearNumberFormat(ctx, locale, format)](./vue-i18n.clearnumberformat.md) | |
| [compile(source, options)](./vue-i18n.compile.md) | |
| [createI18n(options)](./vue-i18n.createi18n.md) | I18n factory function |
| [createParser(options)](./vue-i18n.createparser.md) | |
+| [createRuntimeContext(options)](./vue-i18n.createruntimecontext.md) | |
+| [datetime(context, value)](./vue-i18n.datetime.md) | |
+| [datetime(context, value, key)](./vue-i18n.datetime_1.md) | |
+| [datetime(context, value, key, locale)](./vue-i18n.datetime_2.md) | |
+| [datetime(context, value, options)](./vue-i18n.datetime_3.md) | |
+| [datetime(context, args)](./vue-i18n.datetime_4.md) | |
+| [getLocaleChain(ctx, fallback, start)](./vue-i18n.getlocalechain.md) | |
+| [handleMissing(context, key, locale, missingWarn, type)](./vue-i18n.handlemissing.md) | |
+| [isTranslateMissingWarn(missing, key)](./vue-i18n.istranslatemissingwarn.md) | |
+| [isTrarnslateFallbackWarn(fallback, key)](./vue-i18n.istrarnslatefallbackwarn.md) | |
+| [number(context, value)](./vue-i18n.number.md) | |
+| [number(context, value, key)](./vue-i18n.number_1.md) | |
+| [number(context, value, key, locale)](./vue-i18n.number_2.md) | |
+| [number(context, value, options)](./vue-i18n.number_3.md) | |
+| [number(context, args)](./vue-i18n.number_4.md) | |
+| [parseDateTimeArgs(args)](./vue-i18n.parsedatetimeargs.md) | |
+| [parseNumberArgs(args)](./vue-i18n.parsenumberargs.md) | |
+| [parseTranslateArgs(args)](./vue-i18n.parsetranslateargs.md) | |
+| [translate(context, key)](./vue-i18n.translate.md) | |
+| [translate(context, key, named)](./vue-i18n.translate_9.md) | |
+| [translate(context, key, named, plural)](./vue-i18n.translate_10.md) | |
+| [translate(context, key, named, defaultMsg)](./vue-i18n.translate_11.md) | |
+| [translate(context, key, named, options)](./vue-i18n.translate_12.md) | |
+| [translate(context, args)](./vue-i18n.translate_13.md) | |
+| [translate(context, key, plural)](./vue-i18n.translate_1.md) | |
+| [translate(context, key, plural, options)](./vue-i18n.translate_2.md) | |
+| [translate(context, key, defaultMsg)](./vue-i18n.translate_3.md) | |
+| [translate(context, key, defaultMsg, options)](./vue-i18n.translate_4.md) | |
+| [translate(context, key, list)](./vue-i18n.translate_5.md) | |
+| [translate(context, key, list, plural)](./vue-i18n.translate_6.md) | |
+| [translate(context, key, list, defaultMsg)](./vue-i18n.translate_7.md) | |
+| [translate(context, key, list, options)](./vue-i18n.translate_8.md) | |
+| [updateFallbackLocale(ctx, locale, fallback)](./vue-i18n.updatefallbacklocale.md) | |
| [useI18n(options)](./vue-i18n.usei18n.md) | Use Composable API starting function |
## Interfaces
| Interface | Description |
| --- | --- |
+| [BaseFormatProps](./vue-i18n.baseformatprops.md) | |
| [CompileError](./vue-i18n.compileerror.md) | |
| [Composer](./vue-i18n.composer.md) | Composer Interfaces |
| [ComposerAdditionalOptions](./vue-i18n.composeradditionaloptions.md) | Composer additional options for useI18n
|
| [ComposerOptions](./vue-i18n.composeroptions.md) | Composer Options |
-| [CurrencyNumberFormatOptions](./vue-i18n.currencynumberformatoptions.md) | |
+| [FormattableProps](./vue-i18n.formattableprops.md) | |
| [Formatter](./vue-i18n.formatter.md) | |
| [I18n](./vue-i18n.i18n.md) | I18n interface |
| [I18nAdditionalOptions](./vue-i18n.i18nadditionaloptions.md) | I18n Additional Options for createI18n
|
| [I18nPluginOptions](./vue-i18n.i18npluginoptions.md) | I18n plugin options |
-| [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) | |
-| [SpecificNumberFormatOptions](./vue-i18n.specificnumberformatoptions.md) | |
+| [LocaleMessageArray](./vue-i18n.localemessagearray.md) | |
+| [Parser](./vue-i18n.parser.md) | |
+| [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) | |
+| [RuntimeContext](./vue-i18n.runtimecontext.md) | |
+| [RuntimeDateTimeContext](./vue-i18n.runtimedatetimecontext.md) | |
+| [RuntimeInternalContext](./vue-i18n.runtimeinternalcontext.md) | |
+| [RuntimeInternalOptions](./vue-i18n.runtimeinternaloptions.md) | |
+| [RuntimeNumberContext](./vue-i18n.runtimenumbercontext.md) | |
+| [RuntimeOptions](./vue-i18n.runtimeoptions.md) | |
+| [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md) | |
+| [TranslationProps](./vue-i18n.translationprops.md) | |
| [VueI18n](./vue-i18n.vuei18n.md) | VueI18n Interfaces |
| [VueI18nOptions](./vue-i18n.vuei18noptions.md) | VueI18n Options |
@@ -42,9 +88,13 @@
| Variable | Description |
| --- | --- |
-| [Availabilities](./vue-i18n.availabilities.md) | |
+| [DatetimeFormat](./vue-i18n.datetimeformat.md) | |
| [friendlyJSONstringify](./vue-i18n.friendlyjsonstringify.md) | |
| [generateFormatCacheKey](./vue-i18n.generateformatcachekey.md) | |
+| [MISSING\_RESOLVE\_VALUE](./vue-i18n.missing_resolve_value.md) | |
+| [NOT\_REOSLVED](./vue-i18n.not_reoslved.md) | |
+| [NumberFormat](./vue-i18n.numberformat.md) | |
+| [Translation](./vue-i18n.translation.md) | |
| [VERSION](./vue-i18n.version.md) | vue-i18n version |
## Type Aliases
@@ -55,40 +105,38 @@
| [CompileDomain](./vue-i18n.compiledomain.md) | |
| [CompileErrorHandler](./vue-i18n.compileerrorhandler.md) | |
| [CompileOptions](./vue-i18n.compileoptions.md) | |
-| [CurrencyDisplay](./vue-i18n.currencydisplay.md) | number |
-| [DateTimeDigital](./vue-i18n.datetimedigital.md) | |
-| [DateTimeFormat](./vue-i18n.datetimeformat.md) | |
-| [DateTimeFormatOptions](./vue-i18n.datetimeformatoptions.md) | |
+| [ComponetI18nScope](./vue-i18n.componeti18nscope.md) | |
+| [CustomBlocks](./vue-i18n.customblocks.md) | |
+| [DatetimeFormatProps](./vue-i18n.datetimeformatprops.md) | |
| [DateTimeFormatResult](./vue-i18n.datetimeformatresult.md) | |
| [DateTimeFormats](./vue-i18n.datetimeformats.md) | |
-| [DateTimeHumanReadable](./vue-i18n.datetimehumanreadable.md) | |
+| [DateTimeOptions](./vue-i18n.datetimeoptions.md) | \# datetime\#\# usages: // for example context.datetimeFormats
below 'en-US': { short: { year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit' } }, 'ja-JP': { ... }// datetimeable value only datetime(context, value)// key argument datetime(context, value, 'short')// key & locale argument datetime(context, value, 'short', 'ja-JP')// object sytle argument datetime(context, value, { key: 'short', locale: 'ja-JP' })// suppress localize miss warning option, override context.missingWarn datetime(context, value, { key: 'short', locale: 'ja-JP', missingWarn: false })// suppress localize fallback warning option, override context.fallbackWarn datetime(context, value, { key: 'short', locale: 'ja-JP', fallbackWarn: false })// if you specify part
options, you can get an array of objects containing the formatted datetime in parts datetime(context, value, { key: 'short', part: true })// orverride context.datetimeFormats\[locale\] options with functino options datetime(cnotext, value, 'short', { currency: 'EUR' }) datetime(cnotext, value, 'short', 'ja-JP', { currency: 'EUR' }) datetime(context, value, { key: 'short', part: true }, { currency: 'EUR'}) |
| [FallbackLocale](./vue-i18n.fallbacklocale.md) | |
-| [FormattedNumberPart](./vue-i18n.formattednumberpart.md) | |
-| [FormattedNumberPartType](./vue-i18n.formattednumberparttype.md) | |
| [I18nMode](./vue-i18n.i18nmode.md) | I18n API mode |
| [I18nOptions](./vue-i18n.i18noptions.md) | I18n Options for createI18n
|
| [I18nScope](./vue-i18n.i18nscope.md) | I18n Scope |
-| [IntlAvailability](./vue-i18n.intlavailability.md) | datetime |
| [LinkedModifiers](./vue-i18n.linkedmodifiers.md) | |
| [Locale](./vue-i18n.locale.md) | |
-| [LocaleMessage](./vue-i18n.localemessage.md) | |
| [LocaleMessageDictionary](./vue-i18n.localemessagedictionary.md) | |
| [LocaleMessageObject](./vue-i18n.localemessageobject.md) | |
| [LocaleMessages](./vue-i18n.localemessages.md) | |
+| [LocaleMessageValue](./vue-i18n.localemessagevalue.md) | |
+| [MessageCompiler](./vue-i18n.messagecompiler.md) | |
| [MessageFunction](./vue-i18n.messagefunction.md) | |
| [MessageFunctions](./vue-i18n.messagefunctions.md) | |
| [MissingHandler](./vue-i18n.missinghandler.md) | |
-| [NumberFormat](./vue-i18n.numberformat.md) | |
-| [NumberFormatOptions](./vue-i18n.numberformatoptions.md) | |
+| [NumberFormatProps](./vue-i18n.numberformatprops.md) | |
| [NumberFormatResult](./vue-i18n.numberformatresult.md) | |
| [NumberFormats](./vue-i18n.numberformats.md) | |
-| [NumberFormatToPartsResult](./vue-i18n.numberformattopartsresult.md) | |
-| [Parser](./vue-i18n.parser.md) | |
+| [NumberOptions](./vue-i18n.numberoptions.md) | \# number\#\# usages // for example context.numberFormats
below 'en-US': { 'currency': { style: 'currency', currency: 'USD', currencyDisplay: 'symbol' } }, 'ja-JP: { ... }// value only number(context, value)// key argument number(context, value, 'currency')// key & locale argument number(context, value, 'currency', 'ja-JP')// object sytle argument number(context, value, { key: 'currency', locale: 'ja-JP' })// suppress localize miss warning option, override context.missingWarn number(context, value, { key: 'currency', locale: 'ja-JP', missingWarn: false })// suppress localize fallback warning option, override context.fallbackWarn number(context, value, { key: 'currency', locale: 'ja-JP', fallbackWarn: false })// if you specify part
options, you can get an array of objects containing the formatted number in parts number(context, value, { key: 'currenty', part: true })// orverride context.numberFormats\[locale\] options with functino options number(cnotext, value, 'currency', { year: '2-digit' }) number(cnotext, value, 'currency', 'ja-JP', { year: '2-digit' }) number(context, value, { key: 'currenty', part: true }, { year: '2-digit'}) |
| [Path](./vue-i18n.path.md) | |
| [PathValue](./vue-i18n.pathvalue.md) | |
| [PluralizationRule](./vue-i18n.pluralizationrule.md) | |
| [PluralizationRulesMap](./vue-i18n.pluralizationrulesmap.md) | |
| [PostTranslationHandler](./vue-i18n.posttranslationhandler.md) | |
+| [RuntimeMissingHandler](./vue-i18n.runtimemissinghandler.md) | |
+| [RuntimeMissingType](./vue-i18n.runtimemissingtype.md) | |
+| [TranslateOptions](./vue-i18n.translateoptions.md) | \# translate\#\# usages: // for example, locale messages key { 'foo.bar': 'hi {0} !' or 'hi {name} !' }// no argument, context & path only translate(context, 'foo.bar')// list argument translate(context, 'foo.bar', \['kazupon'\])// named argument translate(context, 'foo.bar', { name: 'kazupon' })// plural choice number translate(context, 'foo.bar', 2)// plural choice number with name argument translate(context, 'foo.bar', { name: 'kazupon' }, 2)// default message argument translate(context, 'foo.bar', 'this is default message')// default message with named argument translate(context, 'foo.bar', { name: 'kazupon' }, 'Hello {name} !')// use key as default message translate(context, 'hi {0} !', \['kazupon'\], { default: true })// locale option, override context.locale translate(context, 'foo.bar', { name: 'kazupon' }, { locale: 'ja' })// suppress localize miss warning option, override context.missingWarn translate(context, 'foo.bar', { name: 'kazupon' }, { missingWarn: false })// suppress localize fallback warning option, override context.fallbackWarn translate(context, 'foo.bar', { name: 'kazupon' }, { fallbackWarn: false }) |
| [TranslateResult](./vue-i18n.translateresult.md) | |
| [UseI18nOptions](./vue-i18n.usei18noptions.md) | I18n Options for useI18n
|
| [WarnHtmlInMessageLevel](./vue-i18n.warnhtmlinmessagelevel.md) | |
diff --git a/docs/vue-i18n.messagecompiler.md b/docs/vue-i18n.messagecompiler.md
new file mode 100644
index 000000000..2006a0848
--- /dev/null
+++ b/docs/vue-i18n.messagecompiler.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [MessageCompiler](./vue-i18n.messagecompiler.md)
+
+## MessageCompiler type
+
+Signature:
+
+```typescript
+export declare type MessageCompiler = (source: string, options?: CompileOptions) => MessageFunction;
+```
diff --git a/docs/vue-i18n.messagefunction.md b/docs/vue-i18n.messagefunction.md
index ec76ffc98..8c42fdd1f 100644
--- a/docs/vue-i18n.messagefunction.md
+++ b/docs/vue-i18n.messagefunction.md
@@ -7,10 +7,5 @@
Signature:
```typescript
-export declare type MessageFunction = {
- (ctx: MessageContext): unknown;
- key?: string;
- locale?: string;
- source?: string;
-};
+export declare type MessageFunction = MessageFunctionCallable | MessageFunctionInternal;
```
diff --git a/docs/vue-i18n.messagefunctions.md b/docs/vue-i18n.messagefunctions.md
index e977b120f..fa3e6453e 100644
--- a/docs/vue-i18n.messagefunctions.md
+++ b/docs/vue-i18n.messagefunctions.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-export declare type MessageFunctions = Record;
+export declare type MessageFunctions = Record>;
```
diff --git a/docs/vue-i18n.missing_resolve_value.md b/docs/vue-i18n.missing_resolve_value.md
new file mode 100644
index 000000000..37404b527
--- /dev/null
+++ b/docs/vue-i18n.missing_resolve_value.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [MISSING\_RESOLVE\_VALUE](./vue-i18n.missing_resolve_value.md)
+
+## MISSING\_RESOLVE\_VALUE variable
+
+Signature:
+
+```typescript
+MISSING_RESOLVE_VALUE = ""
+```
diff --git a/docs/vue-i18n.not_reoslved.md b/docs/vue-i18n.not_reoslved.md
new file mode 100644
index 000000000..6d6a8b982
--- /dev/null
+++ b/docs/vue-i18n.not_reoslved.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [NOT\_REOSLVED](./vue-i18n.not_reoslved.md)
+
+## NOT\_REOSLVED variable
+
+Signature:
+
+```typescript
+NOT_REOSLVED = -1
+```
diff --git a/docs/vue-i18n.number.md b/docs/vue-i18n.number.md
new file mode 100644
index 000000000..19622e120
--- /dev/null
+++ b/docs/vue-i18n.number.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [number](./vue-i18n.number.md)
+
+## number() function
+
+Signature:
+
+```typescript
+export declare function number(context: RuntimeNumberContext, value: number): string | number | Intl.NumberFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeNumberContext<NumberFormats, Message>
| |
+| value | number
| |
+
+Returns:
+
+`string | number | Intl.NumberFormatPart[]`
+
diff --git a/docs/vue-i18n.number_1.md b/docs/vue-i18n.number_1.md
new file mode 100644
index 000000000..587644869
--- /dev/null
+++ b/docs/vue-i18n.number_1.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [number](./vue-i18n.number_1.md)
+
+## number() function
+
+Signature:
+
+```typescript
+export declare function number(context: RuntimeNumberContext, value: number, key: string): string | number | Intl.NumberFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeNumberContext<NumberFormats, Message>
| |
+| value | number
| |
+| key | string
| |
+
+Returns:
+
+`string | number | Intl.NumberFormatPart[]`
+
diff --git a/docs/vue-i18n.number_2.md b/docs/vue-i18n.number_2.md
new file mode 100644
index 000000000..a9432df8a
--- /dev/null
+++ b/docs/vue-i18n.number_2.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [number](./vue-i18n.number_2.md)
+
+## number() function
+
+Signature:
+
+```typescript
+export declare function number(context: RuntimeNumberContext, value: number, key: string, locale: Locale): string | number | Intl.NumberFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeNumberContext<NumberFormats, Message>
| |
+| value | number
| |
+| key | string
| |
+| locale | Locale
| |
+
+Returns:
+
+`string | number | Intl.NumberFormatPart[]`
+
diff --git a/docs/vue-i18n.number_3.md b/docs/vue-i18n.number_3.md
new file mode 100644
index 000000000..80926fce3
--- /dev/null
+++ b/docs/vue-i18n.number_3.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [number](./vue-i18n.number_3.md)
+
+## number() function
+
+Signature:
+
+```typescript
+export declare function number(context: RuntimeNumberContext, value: number, options: NumberOptions): string | number | Intl.NumberFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeNumberContext<NumberFormats, Message>
| |
+| value | number
| |
+| options | NumberOptions
| |
+
+Returns:
+
+`string | number | Intl.NumberFormatPart[]`
+
diff --git a/docs/vue-i18n.number_4.md b/docs/vue-i18n.number_4.md
new file mode 100644
index 000000000..50fd2a6b8
--- /dev/null
+++ b/docs/vue-i18n.number_4.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [number](./vue-i18n.number_4.md)
+
+## number() function
+
+Signature:
+
+```typescript
+export declare function number(context: RuntimeNumberContext, ...args: unknown[]): string | number | Intl.NumberFormatPart[];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeNumberContext<NumberFormats, Message>
| |
+| args | unknown[]
| |
+
+Returns:
+
+`string | number | Intl.NumberFormatPart[]`
+
diff --git a/docs/vue-i18n.numberformat.md b/docs/vue-i18n.numberformat.md
index 99fd8f0c7..835de92fd 100644
--- a/docs/vue-i18n.numberformat.md
+++ b/docs/vue-i18n.numberformat.md
@@ -2,12 +2,80 @@
[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [NumberFormat](./vue-i18n.numberformat.md)
-## NumberFormat type
+## NumberFormat variable
Signature:
```typescript
-export declare type NumberFormat = {
- [key: string]: NumberFormatOptions;
-};
+NumberFormat: (new () => import("vue").ComponentPublicInstance<{
+ value: number;
+ scope: "parent" | "global";
+} & {
+ format?: Intl.NumberFormatOptions | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}, import("vue").RenderFunction, {}, {}, {}, Record any) | null>, import("vue").VNodeProps & {
+ value: number;
+} & {
+ format?: Intl.NumberFormatOptions | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+ scope?: "parent" | "global" | undefined;
+}, import("vue").ComponentOptionsBase<{
+ value: number;
+ scope: "parent" | "global";
+} & {
+ format?: Intl.NumberFormatOptions | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}, import("vue").RenderFunction, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string>>) & import("vue").ComponentOptionsBase, import("vue").RenderFunction, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string> & {
+ props: {
+ value: {
+ type: NumberConstructor;
+ required: true;
+ };
+ format: {
+ type: PropType;
+ };
+ tag: {
+ type: StringConstructor;
+ };
+ locale: {
+ type: StringConstructor;
+ };
+ scope: {
+ type: PropType<"parent" | "global">;
+ validator: (val: "parent" | "global") => boolean;
+ default: "parent" | "global";
+ };
+ };
+} & ThisType, import("vue").RenderFunction, {}, {}, {}, Record any) | null>, Readonly<{
+ value: number;
+ scope: "parent" | "global";
+} & {
+ format?: Intl.NumberFormatOptions | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}>, import("vue").ComponentOptionsBase, import("vue").RenderFunction, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string>>>
```
diff --git a/docs/vue-i18n.numberformatoptions.md b/docs/vue-i18n.numberformatoptions.md
deleted file mode 100644
index 6e4c917bb..000000000
--- a/docs/vue-i18n.numberformatoptions.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [NumberFormatOptions](./vue-i18n.numberformatoptions.md)
-
-## NumberFormatOptions type
-
-Signature:
-
-```typescript
-export declare type NumberFormatOptions = Intl.NumberFormatOptions | SpecificNumberFormatOptions | CurrencyNumberFormatOptions;
-```
diff --git a/docs/vue-i18n.numberformatprops.md b/docs/vue-i18n.numberformatprops.md
new file mode 100644
index 000000000..f80cdf01e
--- /dev/null
+++ b/docs/vue-i18n.numberformatprops.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [NumberFormatProps](./vue-i18n.numberformatprops.md)
+
+## NumberFormatProps type
+
+Signature:
+
+```typescript
+export declare type NumberFormatProps = FormattableProps;
+```
diff --git a/docs/vue-i18n.numberformattopartsresult.md b/docs/vue-i18n.numberformattopartsresult.md
deleted file mode 100644
index 3c0cbf3c4..000000000
--- a/docs/vue-i18n.numberformattopartsresult.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [NumberFormatToPartsResult](./vue-i18n.numberformattopartsresult.md)
-
-## NumberFormatToPartsResult type
-
-Signature:
-
-```typescript
-export declare type NumberFormatToPartsResult = {
- [index: number]: FormattedNumberPart;
-};
-```
diff --git a/docs/vue-i18n.numberoptions.md b/docs/vue-i18n.numberoptions.md
new file mode 100644
index 000000000..7edce53ee
--- /dev/null
+++ b/docs/vue-i18n.numberoptions.md
@@ -0,0 +1,37 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [NumberOptions](./vue-i18n.numberoptions.md)
+
+## NumberOptions type
+
+\# number
+
+\#\# usages // for example `context.numberFormats` below 'en-US': { 'currency': { style: 'currency', currency: 'USD', currencyDisplay: 'symbol' } }, 'ja-JP: { ... }
+
+// value only number(context, value)
+
+// key argument number(context, value, 'currency')
+
+// key & locale argument number(context, value, 'currency', 'ja-JP')
+
+// object sytle argument number(context, value, { key: 'currency', locale: 'ja-JP' })
+
+// suppress localize miss warning option, override context.missingWarn number(context, value, { key: 'currency', locale: 'ja-JP', missingWarn: false })
+
+// suppress localize fallback warning option, override context.fallbackWarn number(context, value, { key: 'currency', locale: 'ja-JP', fallbackWarn: false })
+
+// if you specify `part` options, you can get an array of objects containing the formatted number in parts number(context, value, { key: 'currenty', part: true })
+
+// orverride context.numberFormats\[locale\] options with functino options number(cnotext, value, 'currency', { year: '2-digit' }) number(cnotext, value, 'currency', 'ja-JP', { year: '2-digit' }) number(context, value, { key: 'currenty', part: true }, { year: '2-digit'})
+
+Signature:
+
+```typescript
+export declare type NumberOptions = {
+ key?: string;
+ locale?: Locale;
+ missingWarn?: boolean;
+ fallbackWarn?: boolean;
+ part?: boolean;
+};
+```
diff --git a/docs/vue-i18n.parsedatetimeargs.md b/docs/vue-i18n.parsedatetimeargs.md
new file mode 100644
index 000000000..ecf5e43fe
--- /dev/null
+++ b/docs/vue-i18n.parsedatetimeargs.md
@@ -0,0 +1,22 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [parseDateTimeArgs](./vue-i18n.parsedatetimeargs.md)
+
+## parseDateTimeArgs() function
+
+Signature:
+
+```typescript
+export declare function parseDateTimeArgs(...args: unknown[]): [string, number | Date, DateTimeOptions, Intl.DateTimeFormatOptions];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| args | unknown[]
| |
+
+Returns:
+
+`[string, number | Date, DateTimeOptions, Intl.DateTimeFormatOptions]`
+
diff --git a/docs/vue-i18n.parsenumberargs.md b/docs/vue-i18n.parsenumberargs.md
new file mode 100644
index 000000000..bb7c10a8e
--- /dev/null
+++ b/docs/vue-i18n.parsenumberargs.md
@@ -0,0 +1,22 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [parseNumberArgs](./vue-i18n.parsenumberargs.md)
+
+## parseNumberArgs() function
+
+Signature:
+
+```typescript
+export declare function parseNumberArgs(...args: unknown[]): [string, number, NumberOptions, Intl.NumberFormatOptions];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| args | unknown[]
| |
+
+Returns:
+
+`[string, number, NumberOptions, Intl.NumberFormatOptions]`
+
diff --git a/docs/vue-i18n.parser.md b/docs/vue-i18n.parser.md
index c74392b73..cea5aeaab 100644
--- a/docs/vue-i18n.parser.md
+++ b/docs/vue-i18n.parser.md
@@ -2,12 +2,17 @@
[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [Parser](./vue-i18n.parser.md)
-## Parser type
+## Parser interface
Signature:
```typescript
-export declare type Parser = Readonly<{
- parse: (source: string) => ResourceNode;
-}>;
+export interface Parser
```
+
+## Methods
+
+| Method | Description |
+| --- | --- |
+| [parse(source)](./vue-i18n.parser.parse.md) | |
+
diff --git a/docs/vue-i18n.parser.parse.md b/docs/vue-i18n.parser.parse.md
new file mode 100644
index 000000000..fcaf4aa90
--- /dev/null
+++ b/docs/vue-i18n.parser.parse.md
@@ -0,0 +1,22 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [Parser](./vue-i18n.parser.md) > [parse](./vue-i18n.parser.parse.md)
+
+## Parser.parse() method
+
+Signature:
+
+```typescript
+parse(source: string): ResourceNode;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| source | string
| |
+
+Returns:
+
+`ResourceNode`
+
diff --git a/docs/vue-i18n.parsetranslateargs.md b/docs/vue-i18n.parsetranslateargs.md
new file mode 100644
index 000000000..aaf37b036
--- /dev/null
+++ b/docs/vue-i18n.parsetranslateargs.md
@@ -0,0 +1,22 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [parseTranslateArgs](./vue-i18n.parsetranslateargs.md)
+
+## parseTranslateArgs() function
+
+Signature:
+
+```typescript
+export declare function parseTranslateArgs(...args: unknown[]): [Path, TranslateOptions];
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| args | unknown[]
| |
+
+Returns:
+
+`[Path, TranslateOptions]`
+
diff --git a/docs/vue-i18n.posttranslationhandler.md b/docs/vue-i18n.posttranslationhandler.md
index 1e0e017a7..e98e5e381 100644
--- a/docs/vue-i18n.posttranslationhandler.md
+++ b/docs/vue-i18n.posttranslationhandler.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-export declare type PostTranslationHandler = (translated: unknown) => unknown;
+export declare type PostTranslationHandler = (translated: MessageType) => MessageType;
```
diff --git a/docs/vue-i18n.runtimecommoncontext.fallbackformat.md b/docs/vue-i18n.runtimecommoncontext.fallbackformat.md
new file mode 100644
index 000000000..3a0b62954
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.fallbackformat.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) > [fallbackFormat](./vue-i18n.runtimecommoncontext.fallbackformat.md)
+
+## RuntimeCommonContext.fallbackFormat property
+
+Signature:
+
+```typescript
+fallbackFormat: boolean;
+```
diff --git a/docs/vue-i18n.runtimecommoncontext.fallbacklocale.md b/docs/vue-i18n.runtimecommoncontext.fallbacklocale.md
new file mode 100644
index 000000000..6315ddf3b
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.fallbacklocale.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) > [fallbackLocale](./vue-i18n.runtimecommoncontext.fallbacklocale.md)
+
+## RuntimeCommonContext.fallbackLocale property
+
+Signature:
+
+```typescript
+fallbackLocale: FallbackLocale;
+```
diff --git a/docs/vue-i18n.runtimecommoncontext.fallbackwarn.md b/docs/vue-i18n.runtimecommoncontext.fallbackwarn.md
new file mode 100644
index 000000000..923d1ee6c
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.fallbackwarn.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) > [fallbackWarn](./vue-i18n.runtimecommoncontext.fallbackwarn.md)
+
+## RuntimeCommonContext.fallbackWarn property
+
+Signature:
+
+```typescript
+fallbackWarn: boolean | RegExp;
+```
diff --git a/docs/vue-i18n.runtimecommoncontext.locale.md b/docs/vue-i18n.runtimecommoncontext.locale.md
new file mode 100644
index 000000000..351cc9efe
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.locale.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) > [locale](./vue-i18n.runtimecommoncontext.locale.md)
+
+## RuntimeCommonContext.locale property
+
+Signature:
+
+```typescript
+locale: Locale;
+```
diff --git a/docs/vue-i18n.runtimecommoncontext.md b/docs/vue-i18n.runtimecommoncontext.md
new file mode 100644
index 000000000..cf20f8fa4
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.md
@@ -0,0 +1,30 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md)
+
+## RuntimeCommonContext interface
+
+Signature:
+
+```typescript
+export interface RuntimeCommonContext
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [fallbackFormat](./vue-i18n.runtimecommoncontext.fallbackformat.md) | boolean
| |
+| [fallbackLocale](./vue-i18n.runtimecommoncontext.fallbacklocale.md) | FallbackLocale
| |
+| [fallbackWarn](./vue-i18n.runtimecommoncontext.fallbackwarn.md) | boolean | RegExp
| |
+| [locale](./vue-i18n.runtimecommoncontext.locale.md) | Locale
| |
+| [missing](./vue-i18n.runtimecommoncontext.missing.md) | RuntimeMissingHandler<Message> | null
| |
+| [missingWarn](./vue-i18n.runtimecommoncontext.missingwarn.md) | boolean | RegExp
| |
+| [unresolving](./vue-i18n.runtimecommoncontext.unresolving.md) | boolean
| |
+
+## Methods
+
+| Method | Description |
+| --- | --- |
+| [onWarn(msg, err)](./vue-i18n.runtimecommoncontext.onwarn.md) | |
+
diff --git a/docs/vue-i18n.runtimecommoncontext.missing.md b/docs/vue-i18n.runtimecommoncontext.missing.md
new file mode 100644
index 000000000..48f9d105c
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.missing.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) > [missing](./vue-i18n.runtimecommoncontext.missing.md)
+
+## RuntimeCommonContext.missing property
+
+Signature:
+
+```typescript
+missing: RuntimeMissingHandler | null;
+```
diff --git a/docs/vue-i18n.runtimecommoncontext.missingwarn.md b/docs/vue-i18n.runtimecommoncontext.missingwarn.md
new file mode 100644
index 000000000..cf33abc67
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.missingwarn.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) > [missingWarn](./vue-i18n.runtimecommoncontext.missingwarn.md)
+
+## RuntimeCommonContext.missingWarn property
+
+Signature:
+
+```typescript
+missingWarn: boolean | RegExp;
+```
diff --git a/docs/vue-i18n.runtimecommoncontext.onwarn.md b/docs/vue-i18n.runtimecommoncontext.onwarn.md
new file mode 100644
index 000000000..d114ed05a
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.onwarn.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) > [onWarn](./vue-i18n.runtimecommoncontext.onwarn.md)
+
+## RuntimeCommonContext.onWarn() method
+
+Signature:
+
+```typescript
+onWarn(msg: string, err?: Error): void;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| msg | string
| |
+| err | Error
| |
+
+Returns:
+
+`void`
+
diff --git a/docs/vue-i18n.runtimecommoncontext.unresolving.md b/docs/vue-i18n.runtimecommoncontext.unresolving.md
new file mode 100644
index 000000000..ef24a3bdb
--- /dev/null
+++ b/docs/vue-i18n.runtimecommoncontext.unresolving.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeCommonContext](./vue-i18n.runtimecommoncontext.md) > [unresolving](./vue-i18n.runtimecommoncontext.unresolving.md)
+
+## RuntimeCommonContext.unresolving property
+
+Signature:
+
+```typescript
+unresolving: boolean;
+```
diff --git a/docs/vue-i18n.runtimecontext.md b/docs/vue-i18n.runtimecontext.md
new file mode 100644
index 000000000..4634613bc
--- /dev/null
+++ b/docs/vue-i18n.runtimecontext.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeContext](./vue-i18n.runtimecontext.md)
+
+## RuntimeContext interface
+
+Signature:
+
+```typescript
+export interface RuntimeContext extends RuntimeTranslationContext, RuntimeDateTimeContext, RuntimeNumberContext
+```
diff --git a/docs/vue-i18n.runtimedatetimecontext.datetimeformats.md b/docs/vue-i18n.runtimedatetimecontext.datetimeformats.md
new file mode 100644
index 000000000..5e5ced1d7
--- /dev/null
+++ b/docs/vue-i18n.runtimedatetimecontext.datetimeformats.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeDateTimeContext](./vue-i18n.runtimedatetimecontext.md) > [datetimeFormats](./vue-i18n.runtimedatetimecontext.datetimeformats.md)
+
+## RuntimeDateTimeContext.datetimeFormats property
+
+Signature:
+
+```typescript
+datetimeFormats: DateTimeFormats;
+```
diff --git a/docs/vue-i18n.runtimedatetimecontext.md b/docs/vue-i18n.runtimedatetimecontext.md
new file mode 100644
index 000000000..498c06559
--- /dev/null
+++ b/docs/vue-i18n.runtimedatetimecontext.md
@@ -0,0 +1,18 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeDateTimeContext](./vue-i18n.runtimedatetimecontext.md)
+
+## RuntimeDateTimeContext interface
+
+Signature:
+
+```typescript
+export interface RuntimeDateTimeContext extends RuntimeCommonContext
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [datetimeFormats](./vue-i18n.runtimedatetimecontext.datetimeformats.md) | DateTimeFormats
| |
+
diff --git a/docs/vue-i18n.runtimeinternalcontext.__datetimeformatters.md b/docs/vue-i18n.runtimeinternalcontext.__datetimeformatters.md
new file mode 100644
index 000000000..186f215a6
--- /dev/null
+++ b/docs/vue-i18n.runtimeinternalcontext.__datetimeformatters.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeInternalContext](./vue-i18n.runtimeinternalcontext.md) > [\_\_datetimeFormatters](./vue-i18n.runtimeinternalcontext.__datetimeformatters.md)
+
+## RuntimeInternalContext.\_\_datetimeFormatters property
+
+Signature:
+
+```typescript
+__datetimeFormatters: Map;
+```
diff --git a/docs/vue-i18n.runtimeinternalcontext.__localechaincache.md b/docs/vue-i18n.runtimeinternalcontext.__localechaincache.md
new file mode 100644
index 000000000..f233925a3
--- /dev/null
+++ b/docs/vue-i18n.runtimeinternalcontext.__localechaincache.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeInternalContext](./vue-i18n.runtimeinternalcontext.md) > [\_\_localeChainCache](./vue-i18n.runtimeinternalcontext.__localechaincache.md)
+
+## RuntimeInternalContext.\_\_localeChainCache property
+
+Signature:
+
+```typescript
+__localeChainCache?: Map;
+```
diff --git a/docs/vue-i18n.runtimeinternalcontext.__numberformatters.md b/docs/vue-i18n.runtimeinternalcontext.__numberformatters.md
new file mode 100644
index 000000000..6784edddd
--- /dev/null
+++ b/docs/vue-i18n.runtimeinternalcontext.__numberformatters.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeInternalContext](./vue-i18n.runtimeinternalcontext.md) > [\_\_numberFormatters](./vue-i18n.runtimeinternalcontext.__numberformatters.md)
+
+## RuntimeInternalContext.\_\_numberFormatters property
+
+Signature:
+
+```typescript
+__numberFormatters: Map;
+```
diff --git a/docs/vue-i18n.runtimeinternalcontext.md b/docs/vue-i18n.runtimeinternalcontext.md
new file mode 100644
index 000000000..f63cdabd7
--- /dev/null
+++ b/docs/vue-i18n.runtimeinternalcontext.md
@@ -0,0 +1,20 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeInternalContext](./vue-i18n.runtimeinternalcontext.md)
+
+## RuntimeInternalContext interface
+
+Signature:
+
+```typescript
+export interface RuntimeInternalContext
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [\_\_datetimeFormatters](./vue-i18n.runtimeinternalcontext.__datetimeformatters.md) | Map<string, Intl.DateTimeFormat>
| |
+| [\_\_localeChainCache](./vue-i18n.runtimeinternalcontext.__localechaincache.md) | Map<Locale, Locale[]>
| |
+| [\_\_numberFormatters](./vue-i18n.runtimeinternalcontext.__numberformatters.md) | Map<string, Intl.NumberFormat>
| |
+
diff --git a/docs/vue-i18n.runtimeinternaloptions.__datetimeformatters.md b/docs/vue-i18n.runtimeinternaloptions.__datetimeformatters.md
new file mode 100644
index 000000000..02c6805a4
--- /dev/null
+++ b/docs/vue-i18n.runtimeinternaloptions.__datetimeformatters.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeInternalOptions](./vue-i18n.runtimeinternaloptions.md) > [\_\_datetimeFormatters](./vue-i18n.runtimeinternaloptions.__datetimeformatters.md)
+
+## RuntimeInternalOptions.\_\_datetimeFormatters property
+
+Signature:
+
+```typescript
+__datetimeFormatters?: Map;
+```
diff --git a/docs/vue-i18n.runtimeinternaloptions.__numberformatters.md b/docs/vue-i18n.runtimeinternaloptions.__numberformatters.md
new file mode 100644
index 000000000..beda3432c
--- /dev/null
+++ b/docs/vue-i18n.runtimeinternaloptions.__numberformatters.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeInternalOptions](./vue-i18n.runtimeinternaloptions.md) > [\_\_numberFormatters](./vue-i18n.runtimeinternaloptions.__numberformatters.md)
+
+## RuntimeInternalOptions.\_\_numberFormatters property
+
+Signature:
+
+```typescript
+__numberFormatters?: Map;
+```
diff --git a/docs/vue-i18n.runtimeinternaloptions.md b/docs/vue-i18n.runtimeinternaloptions.md
new file mode 100644
index 000000000..5689bf85a
--- /dev/null
+++ b/docs/vue-i18n.runtimeinternaloptions.md
@@ -0,0 +1,19 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeInternalOptions](./vue-i18n.runtimeinternaloptions.md)
+
+## RuntimeInternalOptions interface
+
+Signature:
+
+```typescript
+export interface RuntimeInternalOptions
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [\_\_datetimeFormatters](./vue-i18n.runtimeinternaloptions.__datetimeformatters.md) | Map<string, Intl.DateTimeFormat>
| |
+| [\_\_numberFormatters](./vue-i18n.runtimeinternaloptions.__numberformatters.md) | Map<string, Intl.NumberFormat>
| |
+
diff --git a/docs/vue-i18n.runtimemissinghandler.md b/docs/vue-i18n.runtimemissinghandler.md
new file mode 100644
index 000000000..db0bc8f37
--- /dev/null
+++ b/docs/vue-i18n.runtimemissinghandler.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeMissingHandler](./vue-i18n.runtimemissinghandler.md)
+
+## RuntimeMissingHandler type
+
+Signature:
+
+```typescript
+export declare type RuntimeMissingHandler = (context: RuntimeCommonContext, locale: Locale, key: Path, type: RuntimeMissingType, ...values: unknown[]) => string | void;
+```
diff --git a/docs/vue-i18n.runtimemissingtype.md b/docs/vue-i18n.runtimemissingtype.md
new file mode 100644
index 000000000..b75019f44
--- /dev/null
+++ b/docs/vue-i18n.runtimemissingtype.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeMissingType](./vue-i18n.runtimemissingtype.md)
+
+## RuntimeMissingType type
+
+Signature:
+
+```typescript
+export declare type RuntimeMissingType = 'translate' | 'datetime' | 'number';
+```
diff --git a/docs/vue-i18n.runtimenumbercontext.md b/docs/vue-i18n.runtimenumbercontext.md
new file mode 100644
index 000000000..e899f35ec
--- /dev/null
+++ b/docs/vue-i18n.runtimenumbercontext.md
@@ -0,0 +1,18 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeNumberContext](./vue-i18n.runtimenumbercontext.md)
+
+## RuntimeNumberContext interface
+
+Signature:
+
+```typescript
+export interface RuntimeNumberContext extends RuntimeCommonContext
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [numberFormats](./vue-i18n.runtimenumbercontext.numberformats.md) | NumberFormats
| |
+
diff --git a/docs/vue-i18n.runtimenumbercontext.numberformats.md b/docs/vue-i18n.runtimenumbercontext.numberformats.md
new file mode 100644
index 000000000..580cb4646
--- /dev/null
+++ b/docs/vue-i18n.runtimenumbercontext.numberformats.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeNumberContext](./vue-i18n.runtimenumbercontext.md) > [numberFormats](./vue-i18n.runtimenumbercontext.numberformats.md)
+
+## RuntimeNumberContext.numberFormats property
+
+Signature:
+
+```typescript
+numberFormats: NumberFormats;
+```
diff --git a/docs/vue-i18n.runtimeoptions.datetimeformats.md b/docs/vue-i18n.runtimeoptions.datetimeformats.md
new file mode 100644
index 000000000..8cb7ae752
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.datetimeformats.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [datetimeFormats](./vue-i18n.runtimeoptions.datetimeformats.md)
+
+## RuntimeOptions.datetimeFormats property
+
+Signature:
+
+```typescript
+datetimeFormats?: DateTimeFormatsType;
+```
diff --git a/docs/vue-i18n.runtimeoptions.fallbackformat.md b/docs/vue-i18n.runtimeoptions.fallbackformat.md
new file mode 100644
index 000000000..d050fc2a6
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.fallbackformat.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [fallbackFormat](./vue-i18n.runtimeoptions.fallbackformat.md)
+
+## RuntimeOptions.fallbackFormat property
+
+Signature:
+
+```typescript
+fallbackFormat?: boolean;
+```
diff --git a/docs/vue-i18n.runtimeoptions.fallbacklocale.md b/docs/vue-i18n.runtimeoptions.fallbacklocale.md
new file mode 100644
index 000000000..45525f068
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.fallbacklocale.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [fallbackLocale](./vue-i18n.runtimeoptions.fallbacklocale.md)
+
+## RuntimeOptions.fallbackLocale property
+
+Signature:
+
+```typescript
+fallbackLocale?: FallbackLocale;
+```
diff --git a/docs/vue-i18n.runtimeoptions.fallbackwarn.md b/docs/vue-i18n.runtimeoptions.fallbackwarn.md
new file mode 100644
index 000000000..eaa1e335a
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.fallbackwarn.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [fallbackWarn](./vue-i18n.runtimeoptions.fallbackwarn.md)
+
+## RuntimeOptions.fallbackWarn property
+
+Signature:
+
+```typescript
+fallbackWarn?: boolean | RegExp;
+```
diff --git a/docs/vue-i18n.runtimeoptions.locale.md b/docs/vue-i18n.runtimeoptions.locale.md
new file mode 100644
index 000000000..a154e56e4
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.locale.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [locale](./vue-i18n.runtimeoptions.locale.md)
+
+## RuntimeOptions.locale property
+
+Signature:
+
+```typescript
+locale?: Locale;
+```
diff --git a/docs/vue-i18n.runtimeoptions.md b/docs/vue-i18n.runtimeoptions.md
new file mode 100644
index 000000000..338f4a088
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.md
@@ -0,0 +1,34 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md)
+
+## RuntimeOptions interface
+
+Signature:
+
+```typescript
+export interface RuntimeOptions
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [datetimeFormats](./vue-i18n.runtimeoptions.datetimeformats.md) | DateTimeFormatsType
| |
+| [fallbackFormat](./vue-i18n.runtimeoptions.fallbackformat.md) | boolean
| |
+| [fallbackLocale](./vue-i18n.runtimeoptions.fallbacklocale.md) | FallbackLocale
| |
+| [fallbackWarn](./vue-i18n.runtimeoptions.fallbackwarn.md) | boolean | RegExp
| |
+| [locale](./vue-i18n.runtimeoptions.locale.md) | Locale
| |
+| [messageCompiler](./vue-i18n.runtimeoptions.messagecompiler.md) | MessageCompiler<Message>
| |
+| [messages](./vue-i18n.runtimeoptions.messages.md) | LocaleMessages<Message>
| |
+| [missing](./vue-i18n.runtimeoptions.missing.md) | RuntimeMissingHandler<Message>
| |
+| [missingWarn](./vue-i18n.runtimeoptions.missingwarn.md) | boolean | RegExp
| |
+| [modifiers](./vue-i18n.runtimeoptions.modifiers.md) | LinkedModifiers<Message>
| |
+| [numberFormats](./vue-i18n.runtimeoptions.numberformats.md) | NumberFormatsType
| |
+| [onWarn](./vue-i18n.runtimeoptions.onwarn.md) | (msg: string, err?: Error) => void
| |
+| [pluralRules](./vue-i18n.runtimeoptions.pluralrules.md) | PluralizationRules
| |
+| [postTranslation](./vue-i18n.runtimeoptions.posttranslation.md) | PostTranslationHandler<Message>
| |
+| [processor](./vue-i18n.runtimeoptions.processor.md) | MessageProcessor<Message>
| |
+| [unresolving](./vue-i18n.runtimeoptions.unresolving.md) | boolean
| |
+| [warnHtmlMessage](./vue-i18n.runtimeoptions.warnhtmlmessage.md) | boolean
| |
+
diff --git a/docs/vue-i18n.runtimeoptions.messagecompiler.md b/docs/vue-i18n.runtimeoptions.messagecompiler.md
new file mode 100644
index 000000000..6271d4cfa
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.messagecompiler.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [messageCompiler](./vue-i18n.runtimeoptions.messagecompiler.md)
+
+## RuntimeOptions.messageCompiler property
+
+Signature:
+
+```typescript
+messageCompiler?: MessageCompiler;
+```
diff --git a/docs/vue-i18n.runtimeoptions.messages.md b/docs/vue-i18n.runtimeoptions.messages.md
new file mode 100644
index 000000000..f3f3ebffb
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.messages.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [messages](./vue-i18n.runtimeoptions.messages.md)
+
+## RuntimeOptions.messages property
+
+Signature:
+
+```typescript
+messages?: LocaleMessages;
+```
diff --git a/docs/vue-i18n.runtimeoptions.missing.md b/docs/vue-i18n.runtimeoptions.missing.md
new file mode 100644
index 000000000..dd781ea1e
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.missing.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [missing](./vue-i18n.runtimeoptions.missing.md)
+
+## RuntimeOptions.missing property
+
+Signature:
+
+```typescript
+missing?: RuntimeMissingHandler;
+```
diff --git a/docs/vue-i18n.runtimeoptions.missingwarn.md b/docs/vue-i18n.runtimeoptions.missingwarn.md
new file mode 100644
index 000000000..207c7ebeb
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.missingwarn.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [missingWarn](./vue-i18n.runtimeoptions.missingwarn.md)
+
+## RuntimeOptions.missingWarn property
+
+Signature:
+
+```typescript
+missingWarn?: boolean | RegExp;
+```
diff --git a/docs/vue-i18n.runtimeoptions.modifiers.md b/docs/vue-i18n.runtimeoptions.modifiers.md
new file mode 100644
index 000000000..f871f76ca
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.modifiers.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [modifiers](./vue-i18n.runtimeoptions.modifiers.md)
+
+## RuntimeOptions.modifiers property
+
+Signature:
+
+```typescript
+modifiers?: LinkedModifiers;
+```
diff --git a/docs/vue-i18n.runtimeoptions.numberformats.md b/docs/vue-i18n.runtimeoptions.numberformats.md
new file mode 100644
index 000000000..44cbaa16b
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.numberformats.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [numberFormats](./vue-i18n.runtimeoptions.numberformats.md)
+
+## RuntimeOptions.numberFormats property
+
+Signature:
+
+```typescript
+numberFormats?: NumberFormatsType;
+```
diff --git a/docs/vue-i18n.runtimeoptions.onwarn.md b/docs/vue-i18n.runtimeoptions.onwarn.md
new file mode 100644
index 000000000..00080de37
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.onwarn.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [onWarn](./vue-i18n.runtimeoptions.onwarn.md)
+
+## RuntimeOptions.onWarn property
+
+Signature:
+
+```typescript
+onWarn?: (msg: string, err?: Error) => void;
+```
diff --git a/docs/vue-i18n.runtimeoptions.pluralrules.md b/docs/vue-i18n.runtimeoptions.pluralrules.md
new file mode 100644
index 000000000..2293679e2
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.pluralrules.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [pluralRules](./vue-i18n.runtimeoptions.pluralrules.md)
+
+## RuntimeOptions.pluralRules property
+
+Signature:
+
+```typescript
+pluralRules?: PluralizationRules;
+```
diff --git a/docs/vue-i18n.runtimeoptions.posttranslation.md b/docs/vue-i18n.runtimeoptions.posttranslation.md
new file mode 100644
index 000000000..03207fba2
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.posttranslation.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [postTranslation](./vue-i18n.runtimeoptions.posttranslation.md)
+
+## RuntimeOptions.postTranslation property
+
+Signature:
+
+```typescript
+postTranslation?: PostTranslationHandler;
+```
diff --git a/docs/vue-i18n.runtimeoptions.processor.md b/docs/vue-i18n.runtimeoptions.processor.md
new file mode 100644
index 000000000..306586807
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.processor.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [processor](./vue-i18n.runtimeoptions.processor.md)
+
+## RuntimeOptions.processor property
+
+Signature:
+
+```typescript
+processor?: MessageProcessor;
+```
diff --git a/docs/vue-i18n.runtimeoptions.unresolving.md b/docs/vue-i18n.runtimeoptions.unresolving.md
new file mode 100644
index 000000000..854ca06cb
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.unresolving.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [unresolving](./vue-i18n.runtimeoptions.unresolving.md)
+
+## RuntimeOptions.unresolving property
+
+Signature:
+
+```typescript
+unresolving?: boolean;
+```
diff --git a/docs/vue-i18n.runtimeoptions.warnhtmlmessage.md b/docs/vue-i18n.runtimeoptions.warnhtmlmessage.md
new file mode 100644
index 000000000..1daa889f0
--- /dev/null
+++ b/docs/vue-i18n.runtimeoptions.warnhtmlmessage.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeOptions](./vue-i18n.runtimeoptions.md) > [warnHtmlMessage](./vue-i18n.runtimeoptions.warnhtmlmessage.md)
+
+## RuntimeOptions.warnHtmlMessage property
+
+Signature:
+
+```typescript
+warnHtmlMessage?: boolean;
+```
diff --git a/docs/vue-i18n.runtimetranslationcontext.md b/docs/vue-i18n.runtimetranslationcontext.md
new file mode 100644
index 000000000..edb9fba1e
--- /dev/null
+++ b/docs/vue-i18n.runtimetranslationcontext.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md)
+
+## RuntimeTranslationContext interface
+
+Signature:
+
+```typescript
+export interface RuntimeTranslationContext extends RuntimeCommonContext
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [messageCompiler](./vue-i18n.runtimetranslationcontext.messagecompiler.md) | MessageCompiler<Message>
| |
+| [messages](./vue-i18n.runtimetranslationcontext.messages.md) | Messages
| |
+| [modifiers](./vue-i18n.runtimetranslationcontext.modifiers.md) | LinkedModifiers<Message>
| |
+| [pluralRules](./vue-i18n.runtimetranslationcontext.pluralrules.md) | PluralizationRules
| |
+| [postTranslation](./vue-i18n.runtimetranslationcontext.posttranslation.md) | PostTranslationHandler<Message> | null
| |
+| [processor](./vue-i18n.runtimetranslationcontext.processor.md) | MessageProcessor<Message> | null
| |
+| [warnHtmlMessage](./vue-i18n.runtimetranslationcontext.warnhtmlmessage.md) | boolean
| |
+
diff --git a/docs/vue-i18n.runtimetranslationcontext.messagecompiler.md b/docs/vue-i18n.runtimetranslationcontext.messagecompiler.md
new file mode 100644
index 000000000..db597f768
--- /dev/null
+++ b/docs/vue-i18n.runtimetranslationcontext.messagecompiler.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md) > [messageCompiler](./vue-i18n.runtimetranslationcontext.messagecompiler.md)
+
+## RuntimeTranslationContext.messageCompiler property
+
+Signature:
+
+```typescript
+messageCompiler: MessageCompiler;
+```
diff --git a/docs/vue-i18n.runtimetranslationcontext.messages.md b/docs/vue-i18n.runtimetranslationcontext.messages.md
new file mode 100644
index 000000000..45bc1d02e
--- /dev/null
+++ b/docs/vue-i18n.runtimetranslationcontext.messages.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md) > [messages](./vue-i18n.runtimetranslationcontext.messages.md)
+
+## RuntimeTranslationContext.messages property
+
+Signature:
+
+```typescript
+messages: Messages;
+```
diff --git a/docs/vue-i18n.runtimetranslationcontext.modifiers.md b/docs/vue-i18n.runtimetranslationcontext.modifiers.md
new file mode 100644
index 000000000..2c89e5d84
--- /dev/null
+++ b/docs/vue-i18n.runtimetranslationcontext.modifiers.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md) > [modifiers](./vue-i18n.runtimetranslationcontext.modifiers.md)
+
+## RuntimeTranslationContext.modifiers property
+
+Signature:
+
+```typescript
+modifiers: LinkedModifiers;
+```
diff --git a/docs/vue-i18n.runtimetranslationcontext.pluralrules.md b/docs/vue-i18n.runtimetranslationcontext.pluralrules.md
new file mode 100644
index 000000000..2f18064f9
--- /dev/null
+++ b/docs/vue-i18n.runtimetranslationcontext.pluralrules.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md) > [pluralRules](./vue-i18n.runtimetranslationcontext.pluralrules.md)
+
+## RuntimeTranslationContext.pluralRules property
+
+Signature:
+
+```typescript
+pluralRules?: PluralizationRules;
+```
diff --git a/docs/vue-i18n.runtimetranslationcontext.posttranslation.md b/docs/vue-i18n.runtimetranslationcontext.posttranslation.md
new file mode 100644
index 000000000..30c8757b2
--- /dev/null
+++ b/docs/vue-i18n.runtimetranslationcontext.posttranslation.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md) > [postTranslation](./vue-i18n.runtimetranslationcontext.posttranslation.md)
+
+## RuntimeTranslationContext.postTranslation property
+
+Signature:
+
+```typescript
+postTranslation: PostTranslationHandler | null;
+```
diff --git a/docs/vue-i18n.runtimetranslationcontext.processor.md b/docs/vue-i18n.runtimetranslationcontext.processor.md
new file mode 100644
index 000000000..969418fcc
--- /dev/null
+++ b/docs/vue-i18n.runtimetranslationcontext.processor.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md) > [processor](./vue-i18n.runtimetranslationcontext.processor.md)
+
+## RuntimeTranslationContext.processor property
+
+Signature:
+
+```typescript
+processor: MessageProcessor | null;
+```
diff --git a/docs/vue-i18n.runtimetranslationcontext.warnhtmlmessage.md b/docs/vue-i18n.runtimetranslationcontext.warnhtmlmessage.md
new file mode 100644
index 000000000..afa16c73d
--- /dev/null
+++ b/docs/vue-i18n.runtimetranslationcontext.warnhtmlmessage.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [RuntimeTranslationContext](./vue-i18n.runtimetranslationcontext.md) > [warnHtmlMessage](./vue-i18n.runtimetranslationcontext.warnhtmlmessage.md)
+
+## RuntimeTranslationContext.warnHtmlMessage property
+
+Signature:
+
+```typescript
+warnHtmlMessage: boolean;
+```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.day.md b/docs/vue-i18n.specificdatetimeformatoptions.day.md
deleted file mode 100644
index eece6267c..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.day.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [day](./vue-i18n.specificdatetimeformatoptions.day.md)
-
-## SpecificDateTimeFormatOptions.day property
-
-Signature:
-
-```typescript
-day?: DateTimeDigital;
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.era.md b/docs/vue-i18n.specificdatetimeformatoptions.era.md
deleted file mode 100644
index a2fe33538..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.era.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [era](./vue-i18n.specificdatetimeformatoptions.era.md)
-
-## SpecificDateTimeFormatOptions.era property
-
-Signature:
-
-```typescript
-era?: DateTimeHumanReadable;
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.formatmatcher.md b/docs/vue-i18n.specificdatetimeformatoptions.formatmatcher.md
deleted file mode 100644
index 742352dd4..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.formatmatcher.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [formatMatcher](./vue-i18n.specificdatetimeformatoptions.formatmatcher.md)
-
-## SpecificDateTimeFormatOptions.formatMatcher property
-
-Signature:
-
-```typescript
-formatMatcher?: 'basic' | 'best-fit';
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.hour.md b/docs/vue-i18n.specificdatetimeformatoptions.hour.md
deleted file mode 100644
index 98802d2d6..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.hour.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [hour](./vue-i18n.specificdatetimeformatoptions.hour.md)
-
-## SpecificDateTimeFormatOptions.hour property
-
-Signature:
-
-```typescript
-hour?: DateTimeDigital;
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.localematcher.md b/docs/vue-i18n.specificdatetimeformatoptions.localematcher.md
deleted file mode 100644
index 152d5af3a..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.localematcher.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [localeMatcher](./vue-i18n.specificdatetimeformatoptions.localematcher.md)
-
-## SpecificDateTimeFormatOptions.localeMatcher property
-
-Signature:
-
-```typescript
-localeMatcher?: 'lookup' | 'best-fit';
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.md b/docs/vue-i18n.specificdatetimeformatoptions.md
deleted file mode 100644
index 564b0c908..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.md
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md)
-
-## SpecificDateTimeFormatOptions interface
-
-Signature:
-
-```typescript
-export interface SpecificDateTimeFormatOptions extends Intl.DateTimeFormatOptions
-```
-
-## Properties
-
-| Property | Type | Description |
-| --- | --- | --- |
-| [day](./vue-i18n.specificdatetimeformatoptions.day.md) | DateTimeDigital
| |
-| [era](./vue-i18n.specificdatetimeformatoptions.era.md) | DateTimeHumanReadable
| |
-| [formatMatcher](./vue-i18n.specificdatetimeformatoptions.formatmatcher.md) | 'basic' | 'best-fit'
| |
-| [hour](./vue-i18n.specificdatetimeformatoptions.hour.md) | DateTimeDigital
| |
-| [localeMatcher](./vue-i18n.specificdatetimeformatoptions.localematcher.md) | 'lookup' | 'best-fit'
| |
-| [minute](./vue-i18n.specificdatetimeformatoptions.minute.md) | DateTimeDigital
| |
-| [month](./vue-i18n.specificdatetimeformatoptions.month.md) | DateTimeDigital | DateTimeHumanReadable
| |
-| [second](./vue-i18n.specificdatetimeformatoptions.second.md) | DateTimeDigital
| |
-| [timeZoneName](./vue-i18n.specificdatetimeformatoptions.timezonename.md) | 'long' | 'short'
| |
-| [weekday](./vue-i18n.specificdatetimeformatoptions.weekday.md) | DateTimeHumanReadable
| |
-| [year](./vue-i18n.specificdatetimeformatoptions.year.md) | DateTimeDigital
| |
-
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.minute.md b/docs/vue-i18n.specificdatetimeformatoptions.minute.md
deleted file mode 100644
index fd2852de8..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.minute.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [minute](./vue-i18n.specificdatetimeformatoptions.minute.md)
-
-## SpecificDateTimeFormatOptions.minute property
-
-Signature:
-
-```typescript
-minute?: DateTimeDigital;
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.month.md b/docs/vue-i18n.specificdatetimeformatoptions.month.md
deleted file mode 100644
index 6a3026b5b..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.month.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [month](./vue-i18n.specificdatetimeformatoptions.month.md)
-
-## SpecificDateTimeFormatOptions.month property
-
-Signature:
-
-```typescript
-month?: DateTimeDigital | DateTimeHumanReadable;
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.second.md b/docs/vue-i18n.specificdatetimeformatoptions.second.md
deleted file mode 100644
index 20e83d03d..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.second.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [second](./vue-i18n.specificdatetimeformatoptions.second.md)
-
-## SpecificDateTimeFormatOptions.second property
-
-Signature:
-
-```typescript
-second?: DateTimeDigital;
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.timezonename.md b/docs/vue-i18n.specificdatetimeformatoptions.timezonename.md
deleted file mode 100644
index c8d5ce913..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.timezonename.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [timeZoneName](./vue-i18n.specificdatetimeformatoptions.timezonename.md)
-
-## SpecificDateTimeFormatOptions.timeZoneName property
-
-Signature:
-
-```typescript
-timeZoneName?: 'long' | 'short';
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.weekday.md b/docs/vue-i18n.specificdatetimeformatoptions.weekday.md
deleted file mode 100644
index 34bf09cec..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.weekday.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [weekday](./vue-i18n.specificdatetimeformatoptions.weekday.md)
-
-## SpecificDateTimeFormatOptions.weekday property
-
-Signature:
-
-```typescript
-weekday?: DateTimeHumanReadable;
-```
diff --git a/docs/vue-i18n.specificdatetimeformatoptions.year.md b/docs/vue-i18n.specificdatetimeformatoptions.year.md
deleted file mode 100644
index c0efe1e30..000000000
--- a/docs/vue-i18n.specificdatetimeformatoptions.year.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificDateTimeFormatOptions](./vue-i18n.specificdatetimeformatoptions.md) > [year](./vue-i18n.specificdatetimeformatoptions.year.md)
-
-## SpecificDateTimeFormatOptions.year property
-
-Signature:
-
-```typescript
-year?: DateTimeDigital;
-```
diff --git a/docs/vue-i18n.specificnumberformatoptions.currency.md b/docs/vue-i18n.specificnumberformatoptions.currency.md
deleted file mode 100644
index 21d174c97..000000000
--- a/docs/vue-i18n.specificnumberformatoptions.currency.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificNumberFormatOptions](./vue-i18n.specificnumberformatoptions.md) > [currency](./vue-i18n.specificnumberformatoptions.currency.md)
-
-## SpecificNumberFormatOptions.currency property
-
-Signature:
-
-```typescript
-currency?: string;
-```
diff --git a/docs/vue-i18n.specificnumberformatoptions.currencydisplay.md b/docs/vue-i18n.specificnumberformatoptions.currencydisplay.md
deleted file mode 100644
index 66033b16a..000000000
--- a/docs/vue-i18n.specificnumberformatoptions.currencydisplay.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificNumberFormatOptions](./vue-i18n.specificnumberformatoptions.md) > [currencyDisplay](./vue-i18n.specificnumberformatoptions.currencydisplay.md)
-
-## SpecificNumberFormatOptions.currencyDisplay property
-
-Signature:
-
-```typescript
-currencyDisplay?: CurrencyDisplay;
-```
diff --git a/docs/vue-i18n.specificnumberformatoptions.formatmatcher.md b/docs/vue-i18n.specificnumberformatoptions.formatmatcher.md
deleted file mode 100644
index 514becf23..000000000
--- a/docs/vue-i18n.specificnumberformatoptions.formatmatcher.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificNumberFormatOptions](./vue-i18n.specificnumberformatoptions.md) > [formatMatcher](./vue-i18n.specificnumberformatoptions.formatmatcher.md)
-
-## SpecificNumberFormatOptions.formatMatcher property
-
-Signature:
-
-```typescript
-formatMatcher?: 'basic' | 'best-fit';
-```
diff --git a/docs/vue-i18n.specificnumberformatoptions.localematcher.md b/docs/vue-i18n.specificnumberformatoptions.localematcher.md
deleted file mode 100644
index 409f2dca1..000000000
--- a/docs/vue-i18n.specificnumberformatoptions.localematcher.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificNumberFormatOptions](./vue-i18n.specificnumberformatoptions.md) > [localeMatcher](./vue-i18n.specificnumberformatoptions.localematcher.md)
-
-## SpecificNumberFormatOptions.localeMatcher property
-
-Signature:
-
-```typescript
-localeMatcher?: 'lookup' | 'best-fit';
-```
diff --git a/docs/vue-i18n.specificnumberformatoptions.md b/docs/vue-i18n.specificnumberformatoptions.md
deleted file mode 100644
index ed637b44e..000000000
--- a/docs/vue-i18n.specificnumberformatoptions.md
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificNumberFormatOptions](./vue-i18n.specificnumberformatoptions.md)
-
-## SpecificNumberFormatOptions interface
-
-Signature:
-
-```typescript
-export interface SpecificNumberFormatOptions extends Intl.NumberFormatOptions
-```
-
-## Properties
-
-| Property | Type | Description |
-| --- | --- | --- |
-| [currency](./vue-i18n.specificnumberformatoptions.currency.md) | string
| |
-| [currencyDisplay](./vue-i18n.specificnumberformatoptions.currencydisplay.md) | CurrencyDisplay
| |
-| [formatMatcher](./vue-i18n.specificnumberformatoptions.formatmatcher.md) | 'basic' | 'best-fit'
| |
-| [localeMatcher](./vue-i18n.specificnumberformatoptions.localematcher.md) | 'lookup' | 'best-fit'
| |
-| [style](./vue-i18n.specificnumberformatoptions.style.md) | 'decimal' | 'percent'
| |
-
diff --git a/docs/vue-i18n.specificnumberformatoptions.style.md b/docs/vue-i18n.specificnumberformatoptions.style.md
deleted file mode 100644
index f1e46754e..000000000
--- a/docs/vue-i18n.specificnumberformatoptions.style.md
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [SpecificNumberFormatOptions](./vue-i18n.specificnumberformatoptions.md) > [style](./vue-i18n.specificnumberformatoptions.style.md)
-
-## SpecificNumberFormatOptions.style property
-
-Signature:
-
-```typescript
-style?: 'decimal' | 'percent';
-```
diff --git a/docs/vue-i18n.translate.md b/docs/vue-i18n.translate.md
new file mode 100644
index 000000000..3e6ee3554
--- /dev/null
+++ b/docs/vue-i18n.translate.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_1.md b/docs/vue-i18n.translate_1.md
new file mode 100644
index 000000000..90eda96f5
--- /dev/null
+++ b/docs/vue-i18n.translate_1.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_1.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, plural: number): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| plural | number
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_10.md b/docs/vue-i18n.translate_10.md
new file mode 100644
index 000000000..ba4043a7d
--- /dev/null
+++ b/docs/vue-i18n.translate_10.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_10.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, named: NamedValue, plural: number): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| named | NamedValue
| |
+| plural | number
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_11.md b/docs/vue-i18n.translate_11.md
new file mode 100644
index 000000000..a6f628ca7
--- /dev/null
+++ b/docs/vue-i18n.translate_11.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_11.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, named: NamedValue, defaultMsg: string): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| named | NamedValue
| |
+| defaultMsg | string
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_12.md b/docs/vue-i18n.translate_12.md
new file mode 100644
index 000000000..cdc17f11e
--- /dev/null
+++ b/docs/vue-i18n.translate_12.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_12.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, named: NamedValue, options: TranslateOptions): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| named | NamedValue
| |
+| options | TranslateOptions
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_13.md b/docs/vue-i18n.translate_13.md
new file mode 100644
index 000000000..b4bb2a177
--- /dev/null
+++ b/docs/vue-i18n.translate_13.md
@@ -0,0 +1,23 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_13.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, ...args: unknown[]): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| args | unknown[]
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_2.md b/docs/vue-i18n.translate_2.md
new file mode 100644
index 000000000..4a128762e
--- /dev/null
+++ b/docs/vue-i18n.translate_2.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_2.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, plural: number, options: TranslateOptions): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| plural | number
| |
+| options | TranslateOptions
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_3.md b/docs/vue-i18n.translate_3.md
new file mode 100644
index 000000000..a1e55f136
--- /dev/null
+++ b/docs/vue-i18n.translate_3.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_3.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, defaultMsg: string): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| defaultMsg | string
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_4.md b/docs/vue-i18n.translate_4.md
new file mode 100644
index 000000000..b0e8fbd6f
--- /dev/null
+++ b/docs/vue-i18n.translate_4.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_4.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, defaultMsg: string, options: TranslateOptions): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| defaultMsg | string
| |
+| options | TranslateOptions
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_5.md b/docs/vue-i18n.translate_5.md
new file mode 100644
index 000000000..2e5132b9d
--- /dev/null
+++ b/docs/vue-i18n.translate_5.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_5.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, list: unknown[]): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| list | unknown[]
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_6.md b/docs/vue-i18n.translate_6.md
new file mode 100644
index 000000000..2b7ec40cf
--- /dev/null
+++ b/docs/vue-i18n.translate_6.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_6.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, list: unknown[], plural: number): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| list | unknown[]
| |
+| plural | number
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_7.md b/docs/vue-i18n.translate_7.md
new file mode 100644
index 000000000..13a3f6e7e
--- /dev/null
+++ b/docs/vue-i18n.translate_7.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_7.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, list: unknown[], defaultMsg: string): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| list | unknown[]
| |
+| defaultMsg | string
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_8.md b/docs/vue-i18n.translate_8.md
new file mode 100644
index 000000000..435589ee4
--- /dev/null
+++ b/docs/vue-i18n.translate_8.md
@@ -0,0 +1,25 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_8.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, list: unknown[], options: TranslateOptions): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| list | unknown[]
| |
+| options | TranslateOptions
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translate_9.md b/docs/vue-i18n.translate_9.md
new file mode 100644
index 000000000..2aadc7518
--- /dev/null
+++ b/docs/vue-i18n.translate_9.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [translate](./vue-i18n.translate_9.md)
+
+## translate() function
+
+Signature:
+
+```typescript
+export declare function translate(context: RuntimeTranslationContext, key: Path, named: NamedValue): MessageType | number;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| context | RuntimeTranslationContext<Messages, Message>
| |
+| key | Path
| |
+| named | NamedValue
| |
+
+Returns:
+
+`MessageType | number`
+
diff --git a/docs/vue-i18n.translateoptions.md b/docs/vue-i18n.translateoptions.md
new file mode 100644
index 000000000..63bf6399b
--- /dev/null
+++ b/docs/vue-i18n.translateoptions.md
@@ -0,0 +1,45 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [TranslateOptions](./vue-i18n.translateoptions.md)
+
+## TranslateOptions type
+
+\# translate
+
+\#\# usages: // for example, locale messages key { 'foo.bar': 'hi {0} !' or 'hi {name} !' }
+
+// no argument, context & path only translate(context, 'foo.bar')
+
+// list argument translate(context, 'foo.bar', \['kazupon'\])
+
+// named argument translate(context, 'foo.bar', { name: 'kazupon' })
+
+// plural choice number translate(context, 'foo.bar', 2)
+
+// plural choice number with name argument translate(context, 'foo.bar', { name: 'kazupon' }, 2)
+
+// default message argument translate(context, 'foo.bar', 'this is default message')
+
+// default message with named argument translate(context, 'foo.bar', { name: 'kazupon' }, 'Hello {name} !')
+
+// use key as default message translate(context, 'hi {0} !', \['kazupon'\], { default: true })
+
+// locale option, override context.locale translate(context, 'foo.bar', { name: 'kazupon' }, { locale: 'ja' })
+
+// suppress localize miss warning option, override context.missingWarn translate(context, 'foo.bar', { name: 'kazupon' }, { missingWarn: false })
+
+// suppress localize fallback warning option, override context.fallbackWarn translate(context, 'foo.bar', { name: 'kazupon' }, { fallbackWarn: false })
+
+Signature:
+
+```typescript
+export declare type TranslateOptions = {
+ list?: unknown[];
+ named?: NamedValue;
+ plural?: number;
+ default?: string | boolean;
+ locale?: Locale;
+ missingWarn?: boolean;
+ fallbackWarn?: boolean;
+};
+```
diff --git a/docs/vue-i18n.translation.md b/docs/vue-i18n.translation.md
new file mode 100644
index 000000000..3dceee3a6
--- /dev/null
+++ b/docs/vue-i18n.translation.md
@@ -0,0 +1,82 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [Translation](./vue-i18n.translation.md)
+
+## Translation variable
+
+Signature:
+
+```typescript
+Translation: (new () => import("vue").ComponentPublicInstance<{
+ keypath: string;
+ scope: "parent" | "global";
+} & {
+ plural?: string | number | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}, () => VNodeChild, {}, {}, {}, Record any) | null>, import("vue").VNodeProps & {
+ keypath: string;
+} & {
+ plural?: string | number | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+ scope?: "parent" | "global" | undefined;
+}, import("vue").ComponentOptionsBase<{
+ keypath: string;
+ scope: "parent" | "global";
+} & {
+ plural?: string | number | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}, () => VNodeChild, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string>>) & import("vue").ComponentOptionsBase, () => VNodeChild, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string> & {
+ props: {
+ keypath: {
+ type: StringConstructor;
+ required: true;
+ };
+ plural: {
+ type: (StringConstructor | NumberConstructor)[];
+ validator: (val: any) => boolean;
+ };
+ tag: {
+ type: StringConstructor;
+ };
+ locale: {
+ type: StringConstructor;
+ };
+ scope: {
+ type: import("vue").PropType<"parent" | "global">;
+ validator: (val: "parent" | "global") => boolean;
+ default: "parent" | "global";
+ };
+ };
+} & ThisType, () => VNodeChild, {}, {}, {}, Record any) | null>, Readonly<{
+ keypath: string;
+ scope: "parent" | "global";
+} & {
+ plural?: string | number | undefined;
+ tag?: string | undefined;
+ locale?: string | undefined;
+}>, import("vue").ComponentOptionsBase, () => VNodeChild, unknown, {}, {}, import("vue").ComponentOptionsBase, import("vue").ComponentOptionsBase, Record any) | null>, string>>>
+```
diff --git a/docs/vue-i18n.translationprops.keypath.md b/docs/vue-i18n.translationprops.keypath.md
new file mode 100644
index 000000000..747ed0159
--- /dev/null
+++ b/docs/vue-i18n.translationprops.keypath.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [TranslationProps](./vue-i18n.translationprops.md) > [keypath](./vue-i18n.translationprops.keypath.md)
+
+## TranslationProps.keypath property
+
+Signature:
+
+```typescript
+keypath: string;
+```
diff --git a/docs/vue-i18n.translationprops.md b/docs/vue-i18n.translationprops.md
new file mode 100644
index 000000000..2c3cf921b
--- /dev/null
+++ b/docs/vue-i18n.translationprops.md
@@ -0,0 +1,19 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [TranslationProps](./vue-i18n.translationprops.md)
+
+## TranslationProps interface
+
+Signature:
+
+```typescript
+export interface TranslationProps extends BaseFormatProps
+```
+
+## Properties
+
+| Property | Type | Description |
+| --- | --- | --- |
+| [keypath](./vue-i18n.translationprops.keypath.md) | string
| |
+| [plural](./vue-i18n.translationprops.plural.md) | number | string
| |
+
diff --git a/docs/vue-i18n.translationprops.plural.md b/docs/vue-i18n.translationprops.plural.md
new file mode 100644
index 000000000..9f61a874d
--- /dev/null
+++ b/docs/vue-i18n.translationprops.plural.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [TranslationProps](./vue-i18n.translationprops.md) > [plural](./vue-i18n.translationprops.plural.md)
+
+## TranslationProps.plural property
+
+Signature:
+
+```typescript
+plural?: number | string;
+```
diff --git a/docs/vue-i18n.updatefallbacklocale.md b/docs/vue-i18n.updatefallbacklocale.md
new file mode 100644
index 000000000..631368fe7
--- /dev/null
+++ b/docs/vue-i18n.updatefallbacklocale.md
@@ -0,0 +1,24 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [updateFallbackLocale](./vue-i18n.updatefallbacklocale.md)
+
+## updateFallbackLocale() function
+
+Signature:
+
+```typescript
+export declare function updateFallbackLocale(ctx: RuntimeCommonContext, locale: Locale, fallback: FallbackLocale): void;
+```
+
+## Parameters
+
+| Parameter | Type | Description |
+| --- | --- | --- |
+| ctx | RuntimeCommonContext<Message>
| |
+| locale | Locale
| |
+| fallback | FallbackLocale
| |
+
+Returns:
+
+`void`
+
diff --git a/docs/vue-i18n.usei18n.md b/docs/vue-i18n.usei18n.md
index 65f0e1ce6..d1a3f92e9 100644
--- a/docs/vue-i18n.usei18n.md
+++ b/docs/vue-i18n.usei18n.md
@@ -9,18 +9,18 @@ Use Composable API starting function
Signature:
```typescript
-export declare function useI18n(options?: UseI18nOptions): Composer;
+export declare function useI18n> = Record>, DateTimeFormats extends Record = Record, NumberFormats extends Record = Record>(options?: Options): Composer;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
-| options | UseI18nOptions
| See [UseI18nOptions](./vue-i18n.usei18noptions.md) |
+| options | Options
| See [UseI18nOptions](./vue-i18n.usei18noptions.md) |
Returns:
-`Composer`
+`Composer`
[Composer](./vue-i18n.composer.md) object
diff --git a/docs/vue-i18n.vuei18n.getlocalemessage.md b/docs/vue-i18n.vuei18n.getlocalemessage.md
index 62371c5c6..36362bac4 100644
--- a/docs/vue-i18n.vuei18n.getlocalemessage.md
+++ b/docs/vue-i18n.vuei18n.getlocalemessage.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-getLocaleMessage(locale: Locale): LocaleMessage;
+getLocaleMessage(locale: Locale): LocaleMessageDictionary;
```
## Parameters
@@ -18,5 +18,5 @@ getLocaleMessage(locale: Locale): LocaleMessage;
Returns:
-`LocaleMessage`
+`LocaleMessageDictionary`
diff --git a/docs/vue-i18n.vuei18n.md b/docs/vue-i18n.vuei18n.md
index eb3bf5aa4..8b57faaae 100644
--- a/docs/vue-i18n.vuei18n.md
+++ b/docs/vue-i18n.vuei18n.md
@@ -9,7 +9,7 @@ VueI18n Interfaces
Signature:
```typescript
-export interface VueI18n
+export interface VueI18n
```
## Remarks
@@ -27,10 +27,10 @@ This interface is compatible with interface of `VueI18n` class (offered with vue
| [formatter](./vue-i18n.vuei18n.formatter.md) | Formatter
| |
| [getChoiceIndex](./vue-i18n.vuei18n.getchoiceindex.md) | (choice: Choice, choicesLength: number) => number
| |
| [locale](./vue-i18n.vuei18n.locale.md) | Locale
| |
-| [messages](./vue-i18n.vuei18n.messages.md) | LocaleMessages
| |
+| [messages](./vue-i18n.vuei18n.messages.md) | Messages
| |
| [missing](./vue-i18n.vuei18n.missing.md) | MissingHandler | null
| |
| [numberFormats](./vue-i18n.vuei18n.numberformats.md) | NumberFormats
| |
-| [postTranslation](./vue-i18n.vuei18n.posttranslation.md) | PostTranslationHandler | null
| |
+| [postTranslation](./vue-i18n.vuei18n.posttranslation.md) | PostTranslationHandler<VueMessageType> | null
| |
| [preserveDirectiveContent](./vue-i18n.vuei18n.preservedirectivecontent.md) | boolean
| |
| [silentFallbackWarn](./vue-i18n.vuei18n.silentfallbackwarn.md) | boolean | RegExp
| |
| [silentTranslationWarn](./vue-i18n.vuei18n.silenttranslationwarn.md) | boolean | RegExp
| |
diff --git a/docs/vue-i18n.vuei18n.mergelocalemessage.md b/docs/vue-i18n.vuei18n.mergelocalemessage.md
index 93b72de76..ea7b3f31d 100644
--- a/docs/vue-i18n.vuei18n.mergelocalemessage.md
+++ b/docs/vue-i18n.vuei18n.mergelocalemessage.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-mergeLocaleMessage(locale: Locale, message: LocaleMessage): void;
+mergeLocaleMessage(locale: Locale, message: LocaleMessageDictionary): void;
```
## Parameters
@@ -15,7 +15,7 @@ mergeLocaleMessage(locale: Locale, message: LocaleMessage): void;
| Parameter | Type | Description |
| --- | --- | --- |
| locale | Locale
| |
-| message | LocaleMessage
| |
+| message | LocaleMessageDictionary<VueMessageType>
| |
Returns:
diff --git a/docs/vue-i18n.vuei18n.messages.md b/docs/vue-i18n.vuei18n.messages.md
index ec2163bca..a93b1cf6f 100644
--- a/docs/vue-i18n.vuei18n.messages.md
+++ b/docs/vue-i18n.vuei18n.messages.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-readonly messages: LocaleMessages;
+readonly messages: Messages;
```
diff --git a/docs/vue-i18n.vuei18n.posttranslation.md b/docs/vue-i18n.vuei18n.posttranslation.md
index f1ec50d7e..505be7cfc 100644
--- a/docs/vue-i18n.vuei18n.posttranslation.md
+++ b/docs/vue-i18n.vuei18n.posttranslation.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-postTranslation: PostTranslationHandler | null;
+postTranslation: PostTranslationHandler | null;
```
diff --git a/docs/vue-i18n.vuei18n.setlocalemessage.md b/docs/vue-i18n.vuei18n.setlocalemessage.md
index 92722ffef..f5d02e50c 100644
--- a/docs/vue-i18n.vuei18n.setlocalemessage.md
+++ b/docs/vue-i18n.vuei18n.setlocalemessage.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-setLocaleMessage(locale: Locale, message: LocaleMessage): void;
+setLocaleMessage(locale: Locale, message: LocaleMessageDictionary): void;
```
## Parameters
@@ -15,7 +15,7 @@ setLocaleMessage(locale: Locale, message: LocaleMessage): void;
| Parameter | Type | Description |
| --- | --- | --- |
| locale | Locale
| |
-| message | LocaleMessage
| |
+| message | LocaleMessageDictionary<VueMessageType>
| |
Returns:
diff --git a/docs/vue-i18n.vuei18n.t_5.md b/docs/vue-i18n.vuei18n.t_5.md
index 67b39d839..3158ba30e 100644
--- a/docs/vue-i18n.vuei18n.t_5.md
+++ b/docs/vue-i18n.vuei18n.t_5.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-t(key: Path, named: object): TranslateResult;
+t(key: Path, named: Record): TranslateResult;
```
## Parameters
@@ -15,7 +15,7 @@ t(key: Path, named: object): TranslateResult;
| Parameter | Type | Description |
| --- | --- | --- |
| key | Path
| |
-| named | object
| |
+| named | Record<string, unknown>
| |
Returns:
diff --git a/docs/vue-i18n.vuei18n.tc_3.md b/docs/vue-i18n.vuei18n.tc_3.md
index 303d9ea59..674d4b042 100644
--- a/docs/vue-i18n.vuei18n.tc_3.md
+++ b/docs/vue-i18n.vuei18n.tc_3.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-tc(key: Path, named: object): TranslateResult;
+tc(key: Path, named: Record): TranslateResult;
```
## Parameters
@@ -15,7 +15,7 @@ tc(key: Path, named: object): TranslateResult;
| Parameter | Type | Description |
| --- | --- | --- |
| key | Path
| |
-| named | object
| |
+| named | Record<string, unknown>
| |
Returns:
diff --git a/docs/vue-i18n.vuei18n.tc_7.md b/docs/vue-i18n.vuei18n.tc_7.md
index 6cf4b3c1e..38e3e1393 100644
--- a/docs/vue-i18n.vuei18n.tc_7.md
+++ b/docs/vue-i18n.vuei18n.tc_7.md
@@ -7,7 +7,7 @@
Signature:
```typescript
-tc(key: Path, choice: number, named: object): TranslateResult;
+tc(key: Path, choice: number, named: Record): TranslateResult;
```
## Parameters
@@ -16,7 +16,7 @@ tc(key: Path, choice: number, named: object): TranslateResult;
| --- | --- | --- |
| key | Path
| |
| choice | number
| |
-| named | object
| |
+| named | Record<string, unknown>
| |
Returns:
diff --git a/docs/vue-i18n.vuei18noptions.componentinstancecreatedlistener.md b/docs/vue-i18n.vuei18noptions.componentinstancecreatedlistener.md
new file mode 100644
index 000000000..ee3e1aa60
--- /dev/null
+++ b/docs/vue-i18n.vuei18noptions.componentinstancecreatedlistener.md
@@ -0,0 +1,11 @@
+
+
+[Home](./index.md) > [vue-i18n](./vue-i18n.md) > [VueI18nOptions](./vue-i18n.vuei18noptions.md) > [componentInstanceCreatedListener](./vue-i18n.vuei18noptions.componentinstancecreatedlistener.md)
+
+## VueI18nOptions.componentInstanceCreatedListener property
+
+Signature:
+
+```typescript
+componentInstanceCreatedListener?: ComponentInstanceCreatedListener;
+```
diff --git a/docs/vue-i18n.vuei18noptions.datetimeformats.md b/docs/vue-i18n.vuei18noptions.datetimeformats.md
index db4589537..46b6f377f 100644
--- a/docs/vue-i18n.vuei18noptions.datetimeformats.md
+++ b/docs/vue-i18n.vuei18noptions.datetimeformats.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-datetimeFormats?: DateTimeFormats;
+datetimeFormats?: DateTimeFormatsType;
```
diff --git a/docs/vue-i18n.vuei18noptions.md b/docs/vue-i18n.vuei18noptions.md
index 55ea0b216..7a46d6d9b 100644
--- a/docs/vue-i18n.vuei18noptions.md
+++ b/docs/vue-i18n.vuei18noptions.md
@@ -21,20 +21,21 @@ This option is compatible with the constructor options of `VueI18n` class (offer
| Property | Type | Description |
| --- | --- | --- |
| [availableLocales](./vue-i18n.vuei18noptions.availablelocales.md) | Locale[]
| |
-| [datetimeFormats](./vue-i18n.vuei18noptions.datetimeformats.md) | DateTimeFormats
| |
+| [componentInstanceCreatedListener](./vue-i18n.vuei18noptions.componentinstancecreatedlistener.md) | ComponentInstanceCreatedListener
| |
+| [datetimeFormats](./vue-i18n.vuei18noptions.datetimeformats.md) | DateTimeFormatsType
| |
| [fallbackLocale](./vue-i18n.vuei18noptions.fallbacklocale.md) | FallbackLocale
| |
| [fallbackRoot](./vue-i18n.vuei18noptions.fallbackroot.md) | boolean
| |
| [formatFallbackMessages](./vue-i18n.vuei18noptions.formatfallbackmessages.md) | boolean
| |
| [formatter](./vue-i18n.vuei18noptions.formatter.md) | Formatter
| |
| [locale](./vue-i18n.vuei18noptions.locale.md) | Locale
| |
-| [messages](./vue-i18n.vuei18noptions.messages.md) | LocaleMessages
| |
+| [messages](./vue-i18n.vuei18noptions.messages.md) | LocaleMessages<VueMessageType>
| |
| [missing](./vue-i18n.vuei18noptions.missing.md) | MissingHandler
| |
-| [modifiers](./vue-i18n.vuei18noptions.modifiers.md) | LinkedModifiers
| |
-| [numberFormats](./vue-i18n.vuei18noptions.numberformats.md) | NumberFormats
| |
+| [modifiers](./vue-i18n.vuei18noptions.modifiers.md) | LinkedModifiers<VueMessageType>
| |
+| [numberFormats](./vue-i18n.vuei18noptions.numberformats.md) | NumberFormatsType
| |
| [pluralizationRules](./vue-i18n.vuei18noptions.pluralizationrules.md) | PluralizationRules
| |
-| [postTranslation](./vue-i18n.vuei18noptions.posttranslation.md) | PostTranslationHandler
| |
+| [postTranslation](./vue-i18n.vuei18noptions.posttranslation.md) | PostTranslationHandler<VueMessageType>
| |
| [preserveDirectiveContent](./vue-i18n.vuei18noptions.preservedirectivecontent.md) | boolean
| |
-| [sharedMessages](./vue-i18n.vuei18noptions.sharedmessages.md) | LocaleMessages
| |
+| [sharedMessages](./vue-i18n.vuei18noptions.sharedmessages.md) | LocaleMessages<VueMessageType>
| |
| [silentFallbackWarn](./vue-i18n.vuei18noptions.silentfallbackwarn.md) | boolean | RegExp
| |
| [silentTranslationWarn](./vue-i18n.vuei18noptions.silenttranslationwarn.md) | boolean | RegExp
| |
| [sync](./vue-i18n.vuei18noptions.sync.md) | boolean
| |
diff --git a/docs/vue-i18n.vuei18noptions.messages.md b/docs/vue-i18n.vuei18noptions.messages.md
index 36515de58..99b384766 100644
--- a/docs/vue-i18n.vuei18noptions.messages.md
+++ b/docs/vue-i18n.vuei18noptions.messages.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-messages?: LocaleMessages;
+messages?: LocaleMessages;
```
diff --git a/docs/vue-i18n.vuei18noptions.modifiers.md b/docs/vue-i18n.vuei18noptions.modifiers.md
index 9ca902838..8fddb0540 100644
--- a/docs/vue-i18n.vuei18noptions.modifiers.md
+++ b/docs/vue-i18n.vuei18noptions.modifiers.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-modifiers?: LinkedModifiers;
+modifiers?: LinkedModifiers;
```
diff --git a/docs/vue-i18n.vuei18noptions.numberformats.md b/docs/vue-i18n.vuei18noptions.numberformats.md
index f555549fd..6c00416be 100644
--- a/docs/vue-i18n.vuei18noptions.numberformats.md
+++ b/docs/vue-i18n.vuei18noptions.numberformats.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-numberFormats?: NumberFormats;
+numberFormats?: NumberFormatsType;
```
diff --git a/docs/vue-i18n.vuei18noptions.posttranslation.md b/docs/vue-i18n.vuei18noptions.posttranslation.md
index 2ed91e6c6..aeac8cfb7 100644
--- a/docs/vue-i18n.vuei18noptions.posttranslation.md
+++ b/docs/vue-i18n.vuei18noptions.posttranslation.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-postTranslation?: PostTranslationHandler;
+postTranslation?: PostTranslationHandler;
```
diff --git a/docs/vue-i18n.vuei18noptions.sharedmessages.md b/docs/vue-i18n.vuei18noptions.sharedmessages.md
index d520015f8..9f2a20f9d 100644
--- a/docs/vue-i18n.vuei18noptions.sharedmessages.md
+++ b/docs/vue-i18n.vuei18noptions.sharedmessages.md
@@ -7,5 +7,5 @@
Signature:
```typescript
-sharedMessages?: LocaleMessages;
+sharedMessages?: LocaleMessages;
```
diff --git a/package.json b/package.json
index cea56d584..6a0d10d69 100644
--- a/package.json
+++ b/package.json
@@ -31,9 +31,9 @@
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.3.0",
"@types/jest": "^26.0.0",
- "@typescript-eslint/eslint-plugin": "^3.0.0",
- "@typescript-eslint/parser": "^3.0.0",
- "@typescript-eslint/typescript-estree": "^3.0.0",
+ "@typescript-eslint/eslint-plugin": "^3.7.0",
+ "@typescript-eslint/parser": "^3.7.0",
+ "@typescript-eslint/typescript-estree": "^3.7.0",
"brotli": "^1.3.2",
"chalk": "^4.0.0",
"convert-hrtime": "^3.0.0",
@@ -62,9 +62,10 @@
"set-tz": "^0.2.0",
"shipjs": "^0.20.0",
"ts-jest": "^26.0.0",
- "typescript": "^3.9.3",
+ "tsd": "^0.13.1",
+ "typescript": "^3.9.7",
"typescript-eslint-language-service": "^3.0.0",
- "vue": "^3.0.0-beta.15"
+ "vue": "^3.0.0-rc.5"
},
"engines": {
"node": ">= 10"
@@ -87,7 +88,7 @@
"main": "dist/vue-i18n.cjs.js",
"module": "dist/vue-i18n.esm-bundler.js",
"peerDependencies": {
- "vue": "^3.0.0-beta.15"
+ "vue": "^3.0.0-rc.5"
},
"repository": {
"type": "git",
@@ -114,14 +115,14 @@
"fix": "npm-run-all --parallel lint:fix format:fix",
"format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'",
"format:fix": "yarn format --write",
- "lint": "eslint ./src ./test ./e2e ./benchmark --ext .js,.ts",
+ "lint": "eslint ./src ./test ./test-d ./e2e ./benchmark --ext .js,.ts",
"lint:fix": "yarn lint --fix",
"release:prepare": "shipjs prepare",
"release:trigger": "shipjs trigger",
"test": "npm-run-all lint clean:cache:jest test:cover test:e2e",
"test:cover": "yarn test:unit --coverage",
"test:e2e": "yarn build && jest --runInBand --config ./jest.e2e.config.js",
- "test:type": "tsc -p . --noEmit",
+ "test:type": "tsd",
"test:unit": "yarn clean:cache:jest && cross-env NODE_ICU_DATA=./node_modules/full-icu jest --env node",
"test:watch": "yarn clean:cache:jest && cross-env NODE_ICU_DATA=./node_modules/full-icu jest --env node --watch"
},
diff --git a/src/components/Translation.ts b/src/components/Translation.ts
index a97ad7538..24ccf4e2f 100644
--- a/src/components/Translation.ts
+++ b/src/components/Translation.ts
@@ -1,11 +1,4 @@
-import {
- h,
- Fragment,
- defineComponent,
- SetupContext,
- VNodeChild,
- VNodeArrayChildren
-} from 'vue'
+import { h, Fragment, defineComponent, SetupContext, VNodeChild } from 'vue'
import { Composer, ComposerInternal } from '../composer'
import { useI18n } from '../i18n'
import { TranslateOptions } from '../core'
@@ -49,12 +42,7 @@ export const Translation = defineComponent({
options.plural = isString(props.plural) ? +props.plural : props.plural
}
const arg = getInterpolateArg(context, keys)
-
- const children = i18n.__transrateVNode(
- props.keypath,
- arg,
- options
- ) as VNodeArrayChildren
+ const children = i18n.__transrateVNode(props.keypath, arg, options)
return props.tag
? h(props.tag, { ...attrs }, children)
: h(Fragment, { ...attrs }, children)
diff --git a/src/composer.ts b/src/composer.ts
index cf6567fd0..82343ea48 100644
--- a/src/composer.ts
+++ b/src/composer.ts
@@ -12,13 +12,15 @@ import {
ComponentInternalInstance,
Text,
createVNode,
- watch
+ watch,
+ VNode,
+ VNodeArrayChildren
} from 'vue'
import { WritableComputedRef, ComputedRef } from '@vue/reactivity'
import { Path, parse as parsePath } from './path'
import {
- DateTimeFormats,
- NumberFormats,
+ DateTimeFormats as DateTimeFormatsType,
+ NumberFormats as NumberFormatsType,
DateTimeFormat,
NumberFormat
} from './core/types'
@@ -27,19 +29,26 @@ import {
PluralizationRules,
NamedValue,
MessageFunctions,
- MessageProcessor
+ MessageProcessor,
+ MessageType
} from './message/runtime'
import {
Locale,
LocaleMessages,
createRuntimeContext,
RuntimeContext,
+ RuntimeCommonContext,
+ RuntimeTranslationContext,
+ RuntimeDateTimeContext,
+ RuntimeNumberContext,
RuntimeMissingHandler,
- LocaleMessage,
+ RuntimeOptions,
+ LocaleMessageDictionary,
PostTranslationHandler,
MISSING_RESOLVE_VALUE,
updateFallbackLocale,
- FallbackLocale
+ FallbackLocale,
+ RuntimeInternalContext
} from './core/context'
import {
translate,
@@ -72,6 +81,14 @@ import {
isPlainObject
} from './utils'
+// extend VNode interface
+declare module '@vue/runtime-core' {
+ interface VNode {
+ toString: () => string // mark for vue-i18n message runtime
+ }
+}
+
+export type VueMessageType = string | VNode
export type MissingHandler = (
locale: Locale,
key: Path,
@@ -79,12 +96,14 @@ export type MissingHandler = (
type?: string
) => string | void
-export type PreCompileHandler = () => {
- messages: LocaleMessages
- functions: MessageFunctions
+export type PreCompileHandler = () => {
+ messages: LocaleMessages
+ functions: MessageFunctions