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

Fallback to en_US while locale is being registered #235

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

passsy
Copy link
Member

@passsy passsy commented Aug 4, 2022

The Localizations widget registers localizations asynchronously (https://github.com/flutter/flutter/blob/74aef9ff8786951fe0c4bd4c96dcb7b80caec219/packages/flutter/lib/src/widgets/localizations.dart#L550-L558)

Usually, they are available at the very next frame, but it might take a few more on some devices. Fallback to en_US until the localizations in the right locale are loaded

Fixes #233
Fixes #234

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.

Grey screen on release Null WiredashLocalizationsExt.l10n
1 participant