Skip to content

Conversation

Csszabi98
Copy link
Contributor

Given the following config:

  • allowComposition: true
  • legacy: true

Calling useI18n() always results in
translations using the default language
"en-US".

Fixes: #1315

Given the following config:
- `allowComposition: true`
- `legacy: true`

Calling `useI18n()` always results in
translations using the default language
"en-US".

(intlify#1315)
@kazupon kazupon added the Type: Improvement Includes backwards-compatible fixes label Jan 29, 2023
Copy link
Member

@kazupon kazupon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

That's good work!
Thanks!

@kazupon kazupon merged commit e826508 into intlify:master Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Improvement Includes backwards-compatible fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Locale returned by useI18n is incorrect when legacy mode is enabled
2 participants