From 6783a53acd5bda1e3cc59f8d2cf6b23b32ea3592 Mon Sep 17 00:00:00 2001 From: davidglezz Date: Mon, 2 Dec 2024 16:23:04 +0100 Subject: [PATCH] feat(i18n): do not use legacy api Signed-off-by: davidglezz --- packages/x-archetype-utils/src/i18n/i18n.plugin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/x-archetype-utils/src/i18n/i18n.plugin.ts b/packages/x-archetype-utils/src/i18n/i18n.plugin.ts index 853b26f94d..b9c62b30c2 100644 --- a/packages/x-archetype-utils/src/i18n/i18n.plugin.ts +++ b/packages/x-archetype-utils/src/i18n/i18n.plugin.ts @@ -51,6 +51,7 @@ export class I18n { */ install(vue: App): void { this.vueI18n = createI18n({ + legacy: false, locale: this.locale, silentFallbackWarn: true, messages: this.currentMessages ? ({ [this.locale]: this.currentMessages } as any) : {},