Skip to content

Commit

Permalink
feat(i18n): do not use legacy api
Browse files Browse the repository at this point in the history
Signed-off-by: davidglezz <[email protected]>
  • Loading branch information
davidglezz committed Dec 2, 2024
1 parent 90f4a85 commit 6783a53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/x-archetype-utils/src/i18n/i18n.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export class I18n<SomeMessages> {
*/
install(vue: App): void {
this.vueI18n = createI18n({
legacy: false,
locale: this.locale,
silentFallbackWarn: true,
messages: this.currentMessages ? ({ [this.locale]: this.currentMessages } as any) : {},
Expand Down

0 comments on commit 6783a53

Please sign in to comment.