Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.2
-
None
-
7a7f2547f3 (qt/qtbase/dev) 7a7f2547f3 (qt/tqtc-qtbase/dev)
Description
The function QLocale::uiLanguages() has the following documentation:
Returns an ordered list of locale names [...] in preference order (like "en-Latn-US", "en-US", "en"). [...] The first item in the list is the most preferred one.
Expected behaviour: QLocale(QLocale::English).uiLanguages() returns "en-Latn-US", "en-US", "en".
Actual behaviour: QLocale(QLocale::English).uiLanguages() returns "en", "en-US", "en-Latn-US".
Attachments
Issue Links
- resulted in
-
QTBUG-103026 FAIL! : tst_QQmlDebugTranslationService::verifyMissingAllTranslationsForMissingLanguage()
- Closed
-
QTBUG-124898 [Reg 6.2 -> 6.5] Qt.uiLanguage does not work for locale changes
- Closed
For Gerrit Dashboard: QTBUG-102796 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
407201,5 | Return more specific entries before less in QLocale::uiLanguages() | dev | qt/qtbase | Status: MERGED | +2 | 0 |