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

QLocale: create a static member function to return ISO 3166 country code for a give QLocale::Country value

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 6.1.0 Alpha
    • 5.2.1
    • Core: Locales (i18n)
    • None
    • f1465c621c11712991fabe5b8b81ccbb6eea4bb9 (qt/qtbase/dev)

    Description

      Would be nice to have the feature mentioned in the summary. Currently I can only get a list of locales with QLocale::matchingLocales, and then split the result of QLocale::name() to get the country code. This method does not work for all countries. There are 29 countries, for I do not receive any locales.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              agabor Gábor Angyal
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes