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

QTranslator.load problem by skipping some

    XMLWordPrintable

Details

    • All, macOS
    • 2
    • b2871765ced8059e571d17d4010e8d8ada4e9190 (qt/qtbase/dev) 47134f44c1c133b43698d4416b4f5a20a85e8893 (qt/qtbase/6.1) 1476d2f0372dd91fce37fb65fd962907c0258c57 (qt/tqtc-qtbase/5.15)
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Eddy Edward Welbourne
              macos_bug_sur qfwieqa Wong
              Vladimir Minenko Vladimir Minenko
              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