I use the function language() of QLocale to get the language of phone, on android, it is ok, but when my iphone update the system to ios11.0.3, it failed to identify chinese language. I use Qt5.8.0, then I download the Qt5.9.2, it alse failed。can someone help me？
What are you getting now ?
function country() is QLocale::Country(UnitedStates),
function language(): QLocale::Language(English),
From the looks of it, it's a bug in iOS 11 not in your application. There are many posts you can find where people are having trouble with the language handling of their iDevices under iOS 11.