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) : {},