-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Desktop application is using a random locale. #45152
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
Comments
We're not calling the (new?) API to set the locale in any of the desktop embeddings currently. |
Appears to not be a "random" locale, but instead the first one listed in our |
Same issue #52403 on linux but it returns null. |
This is already marked as an issue for all three desktop platforms. None are passing locale information, as I said above. |
Sorry, I've just wanted to mention issue here for any further information. |
Has there been any progress? I don't know if there is ways that can detect the dynamic locale setting change in each desktops (Linux/Windows/macOS), but I think that it is relatively easy to set the locale once when launch the app. If there is no problem with the implementation that sets default locale setting at starting an app, I could support this issue. |
Starting with just setting it on launch is fine. For systems where we get notifications about changes, we can add that later; it would leverage the code written for setting it at launch. |
Queries the system list of user-preferred languages, and sends it to the engine just after starting it up. Windows portion of flutter/flutter#45152
Queries the system list of user-preferred languages, and sends it to the engine just after starting it up, as well as after any OS locale change. macOS portion of flutter/flutter#45152
Queries the system list of user-preferred languages, and sends it to the engine just after starting it up, as well as after any OS locale change. macOS portion of flutter/flutter#45152
Queries the system list of user-preferred languages, and sends it to the engine just after starting it up. Windows portion of flutter/flutter#45152
All three desktop embeddings are sending initial locale information now. |
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 |
Steps to Reproduce
Target Platform: macOS
Target OS version/browser: 10.14.6
Devices: Macbook Pro
Logs
The text was updated successfully, but these errors were encountered: