Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.1
-
None
-
Tested on a Windows 10 system.
Description
On Windows for some of the more exotic locales like "nds" (Low German) nativeLanguageName returns an Empty string.
This is unexpected and is not mentioned in the the documentation.
https://doc.qt.io/qt-5/qlocale.html#nativeLanguageName
Ideally there would be some kind of fallback for the names where getLocaleInfo(LOCALE_SNATIVELANGUAGENAME) returns an empty string. At least it should be mentioned in the Documentation.
(Affects Version 5.5.1 chosen because that's the one I've tested but probably true for newer versions, too)
See https://git.reviewboard.kde.org/r/127136 for an example why this can be problematic.
Attachments
Issue Links
- relates to
-
QTBUG-59929 nativeLanguageName returns empty string for Scottish Gaelic locale
- Closed
-
QTBUG-17092 Provide the Endonym equivalent for QLocale::languageToString()
- Closed
-
QTBUG-47892 QLocale("es").nativeLanguageName() is "español de España"
- Reported
-
QTBUG-112988 QLocale returns American English for locale en
- Closed
-
QTBUG-47891 QLocale("pt").nativeLanguageName() is "português do Brasil"
- Closed
-
QTBUG-88558 nativeLanguageName() missing for Sardinian sc locale
- Closed