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

nativeLanguageName returns empty string for Scottish Gaelic locale

XMLWordPrintable

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

      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.

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

            thiago Thiago Macieira
            wuzzy wuzzy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes