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

nativeLanguageName returns empty string for Scottish Gaelic locale

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 4.8.7
    • Core: Locales (i18n)
    • None
    • GNU/Linux

    Description

      If you use the Scottish Gaelic locale and use QLocale::nativeLanguageName() to extract the language name, you only get an empty string.

      Example snippet:

      QLocale loc = QLocale("gd");
      ql = new QLabel("["+loc.nativeLanguageName()+"]");

      This happens in 4.8.7. In Qt5, the correct value is returned.

      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
              wuzzy wuzzy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes