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

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

XMLWordPrintable

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

      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()

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes