Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.2
-
None
-
Windows 10
-
-
21
-
Qt6_Foundation_Sprint 22
Description
Even my country is set to Germany, this code snippet returns United States which is Regional Format set in Windows Region&Language Settings. ( English,United States ). But when I change it to (English,Germany) it returns Germany. QtLocale tries to get country from several settings but if the system has a country set,should not it be the highest priority to get country of system ? Country and regional format can be different.
qDebug()<<QLocale::countryToString(QLocale::system().country());
Attachments
Issue Links
- duplicates
-
QTBUG-74287 QLocale::nativeCountryName does not use country information from locale object
- Closed
- is required for
-
QTBUG-84669 Upgrade to CLDR v37
- Closed
- relates to
-
QTBUG-79902 QLocale: make fuller and more faithful use of the CLDR data
- Open