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

QLocale::uiLanguages() returns locales in unexpected format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 4.8.2, 5.0.0 Beta 1
    • Fix Version/s: 5.0.0 RC 1
    • Component/s: Core: Locales (i18n)
    • Labels:
      None
    • Commits:
      fe8962d3a506a850878401309f81247c80f3d203

      Description

      The format that the locales are returned by QLocale::uiLanguages() is unexpected. While usually the parts of a locale are separated by a "_", here they are separated by a "-".

      For example for a LANG=de_DE.UTF-8 uiLanguages returns de-DE.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                liaqi Liang Qi
                Reporter:
                nath Niels Weber
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes