Skip to content

Desktop application is using a random locale. #45152

Closed
@rami-a

Description

@rami-a

Steps to Reproduce

  • Application is utilizing i18n with support for a variety of locales
  • Build and launch application for macOS
  • Observe incorrect locale is being used.
    • It was immediately obvious from the tooltip for a back button

Target Platform: macOS
Target OS version/browser: 10.14.6
Devices: Macbook Pro

Logs

[✓] Flutter (Channel master, v1.11.1-pre.49, on Mac OS X 10.14.6 18G87, locale en-US)
    • Flutter version 1.11.1-pre.49 at /Users/*/Development/flutter
    • Framework revision c90d64b619 (5 days ago), 2019-11-14 01:16:17 -0500
    • Engine revision 7c2a4ec97f
    • Dart version 2.7.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/*/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-stable, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.7.5

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 36.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] Connected device (4 available)
    • iPhone 11 Pro • E2273D43-1E56-4FB7-9C72-873055388DE9 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
    • macOS         • macOS                                • darwin-x64     • Mac OS X 10.14.6 18G87
    • Chrome        • chrome                               • web-javascript • Google Chrome 78.0.3904.108
    • Web Server    • web-server                           • web-javascript • Flutter Tools

Metadata

Metadata

Labels

P1High-priority issues at the top of the work lista: desktopRunning on desktopa: internationalizationSupporting other languages or locales. (aka i18n)customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.customer: web10engineflutter/engine repository. See also e: labels.platform-linuxBuilding on or for Linux specificallyplatform-macBuilding on or for macOS specificallyplatform-windowsBuilding on or for Windows specifically

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions