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

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

    XMLWordPrintable

    Details

    • Platform/s:
      Android
    • Commits:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes