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

QLocale shows German text for "en_DE"

    XMLWordPrintable

Details

    • macOS
    • 1
    • 753bfdf6a1 (qt/qtbase/dev) 753bfdf6a1 (qt/tqtc-qtbase/dev) dd98e36201 (qt/qtbase/6.4) dd98e36201 (qt/tqtc-qtbase/6.4) 5543e2dece (qt/qtbase/6.4.0) 5543e2dece (qt/tqtc-qtbase/6.4.0) 96dd669e84 (qt/qtbase/6.3) 96dd669e84 (qt/tqtc-qtbase/6.3)
    • Foundation Sprint 61, Foundation Sprint 62, Foundation Sprint 63, Foundation Sprint 64, Foundation Sprint 65

    Description

      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']
      >>> 
      

      Attachments

        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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: