You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are not many more steps, just switch the language in app settings and print the Localizations.locale (context).toLanguageTag().toLowerCase(), then check the result.
Please check the video on my real device; the language code is at the bottom of the settings page. I tested these languages:
➜ henhaoji git:(HMA-104) ✗ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.2 24C101 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.96.4)
[✓] Connected device (5 available)
[✓] Network resources
• No issues found!
Steps to reproduce
There are not many more steps, just switch the language in app settings and print the
Localizations.locale (context).toLanguageTag().toLowerCase(), then check the result.Please check the video on my real device; the language code is at the bottom of the settings page. I tested these languages:
Flutter 3.24.3
Dart 3.5.3
DevTools 2.37.3
Expected results
en-us and zh-tw
Actual results
en-au and zh-cn
Code sample
Screenshots or Video
ScreenRecording_01-19-2025.15-46-22_1.mov
Logs
No response
Flutter Doctor output