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

QTranslator.load problem by skipping some

    XMLWordPrintable

    Details

    • Platform/s:
      All, macOS
    • Commits:
      b2871765ced8059e571d17d4010e8d8ada4e9190 (qt/qtbase/dev) 47134f44c1c133b43698d4416b4f5a20a85e8893 (qt/qtbase/6.1) 1476d2f0372dd91fce37fb65fd962907c0258c57 (qt/tqtc-qtbase/5.15)
    • Story Points:
      2
    • Sprint:
      Qt6_Foundation_Sprint 32, Qt6_Foundation_Sprint 33, Qt6_Foundation_Sprint 34, Qt6_Foundation_Sprint 35

      Description

      qDebug() << QLocale{}.uiLanguages(); shows my uilanguage is QList("zh-Hans-CN").
      But when I use QTranslator.load, It will only load "zh.qm" "zh_Hans.qm" "zh_Hans_CN.qm"...
      Without loading "zh_CN.qm", may be a result of this diff

       

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-92234
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              macos_bug_sur qfwieqa Wong
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes