Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.1
-
Android
-
-
8c89a8b1ef3e4ce549a5d0bbc4168c199e44f8cf
Description
The user wants to detect does her application used on Android device (Nexus 6.0/7.0) with Hebrew installed as a device's display language or not. This can be achieved with this call QLocale::system().uiLanguages().at(0). For majority of different locales the user is getting a right information: country code and language code. however for Hebrew the user is getting this information:
m_country_id = 0 (QLocale::AnyCountry) m_language_id = 1 (The "C" locale is identical in behavior to English/UnitedStates.) m_currency_iso_code = "\0"
The developer can see this problem if the demo attached is used and the Android device's display language is set to Hebrew.
Attachments
For Gerrit Dashboard: QTBUG-49632 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
145459,2 | [Android]: Java uses some deprecated locale codes so account for these | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |