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

[Android] QLocale::system().name() does not work with finnish or swedish

    XMLWordPrintable

Details

    • Android
    • 8796e3016fae1672e727e2fa4e48f671a0c667ba (qt/qtbase/5.12)

    Description

      You set the system language to finnish or swedish and there is for example english add in the list of languages, but not set a system language.

      Then the QLocale::system().name() returns "en_GB" even if the expected value is "fi_FI" or "sv_SE".

      If the finnish or swedish is the only language in the list then the return value is correctly "fi_FI" or "sv_SE".

      Exactly the same applies also to QLocale::system().uiLanguages()

      Attachments

        Issue Links

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

          Activity

            People

              andysh Andy Shaw
              tuomas.vaarala Tuomas Vaarala
              Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes