Skip to content

Commit

Permalink
Merge pull request #253 from cuiyiming1998/main
Browse files Browse the repository at this point in the history
chore: add legacy config to locale settings
  • Loading branch information
sHow8e authored Mar 21, 2023
2 parents 4e99cdd + 648c863 commit 56d89b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arco-design-pro-vite/src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const defaultLocale = localStorage.getItem('arco-locale') || 'zh-CN';
const i18n = createI18n({
locale: defaultLocale,
fallbackLocale: 'en-US',
legacy: false,
allowComposition: true,
messages: {
'en-US': en,
Expand Down

0 comments on commit 56d89b7

Please sign in to comment.