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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes