Skip to content

Commit

Permalink
fix: i18n globalInjection
Browse files Browse the repository at this point in the history
  • Loading branch information
mnenie committed Aug 30, 2024
1 parent 7175a83 commit 02006b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/lib/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const getCurrentLocale = () => {
const i18n = createI18n<[MessageSchema], 'en-US' | 'ru-RU' | 'zh-CN'>({
legacy: false,
locale: getCurrentLocale(),
globalInjection: true,
messages: messages
});

Expand Down

0 comments on commit 02006b9

Please sign in to comment.