Skip to content

[Linux] localeResolutionCallback returns null #52403

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

Closed
aliyazdi75 opened this issue Mar 11, 2020 · 2 comments
Closed

[Linux] localeResolutionCallback returns null #52403

aliyazdi75 opened this issue Mar 11, 2020 · 2 comments

Comments

@aliyazdi75
Copy link

On master channel localeResolutionCallback on Linux returns null.

MaterialApp(
           localeResolutionCallback: (locale, supportedLocales) {
                return locale;
           },
...
);

I have en_US locale on my Linux:

[✓] Flutter (Channel master, v1.15.19, on Linux, locale en_US.UTF-8)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 3.6)
[✓] Connected device (4 available)
@TahaTesser TahaTesser changed the title [Linux localization] localeResolutionCallback returns null [Linux] localeResolutionCallback returns null Mar 11, 2020
@VladyslavBondarenko
Copy link

Hi @aliyazdi75
I see there's an open issue addressing the case you described.
Please follow up on #45343,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you

@lock
Copy link

lock bot commented Apr 4, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@lock lock bot locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants