Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
4.8.7
-
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
- relates to
-
QTBUG-47892 QLocale("es").nativeLanguageName() is "español de España"
- Reported
-
QTBUG-51323 QLocale::nativeLanguageName can return empty strings
- Open