Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] i18nProvider - initial locale #3755

Merged
merged 4 commits into from
Oct 1, 2019
Merged

[RFR] i18nProvider - initial locale #3755

merged 4 commits into from
Oct 1, 2019

Conversation

djhi
Copy link
Contributor

@djhi djhi commented Oct 1, 2019

Fixes #3722

@djhi djhi added this to the 3.0.0 milestone Oct 1, 2019
UPGRADE.md Outdated
@@ -1100,12 +1100,19 @@ const i18nProvider = {
return new Promise((resolve, reject) => {
// load new messages and update the translate function
})
},
getLocale: () => {
return new Promise((resolve, reject) => {
Copy link
Member

Choose a reason for hiding this comment

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

the type shows that this function is sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants