Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104930

QLocale shows German text for "en_DE"

XMLWordPrintable

    • macOS
    • 1
    • ef5d9702a (dev)
    • Foundation Sprint 61, Foundation Sprint 62, Foundation Sprint 63, Foundation Sprint 64, Foundation Sprint 65

      A PySide test shows suddenly the wrong language when Qt 6.4 beta is used.

      Prior communication has shown that this is a macOS bug that probably should be circumvented. Here are the results:

      >>> QLocale()
      <PySide6.QtCore.QLocale(English, Default, Germany) at 0x10af4be30>
      >>> QLocale().uiLanguages()
      ['en-GB', 'en-Latn-GB', 'de-DE', 'de-Latn-DE', 'de']
      >>> QLocale(QLocale.English, QLocale.Germany).uiLanguages()
      ['en-Latn-DE', 'en-DE']
      >>> 
      

        1. image-2022-10-20-13-31-36-137.png
          584 kB
          Tor Arne Vestbø
        2. image-2022-10-21-13-25-04-017.png
          582 kB
          Tor Arne Vestbø
        3. qmimedatabase_test.py
          2 kB
          Christian Tismer
        4. localization.mm
          4 kB
          Tor Arne Vestbø
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Eddy Edward Welbourne
            ctismer Christian Tismer
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: