Incorrect value returned by Application.systemLanguage

//This line returned : Frensh
// But it should have been French !
print (Application.systemLanguage);

Petty detail but still after 2.6.1, no one saw it ?

We have same problem too…
On IPhone it always return Unknown… how can we get the langauge that is currently set on user iPhone ? We need that for our localization module !
Please help!

To get the language on the iphone you need to use a native code plugin and ask iOS.
I think there is a thread where someone also provided the function to get it. its pretty much straight forward :slight_smile:

Thanks. This is what we are looking as backup solution. But I really wish to Unity team to answer why it’s not working. It’s bug on Unity side or we are doing something wrong ? We prefer to get language with Unity way, specially, if there is dedication function for it.

Neither.
Mono just does not support iOS and as such does not pull the value out of iOS and thus does not report the information / the right information.

You can only rely on things working that UT advertises to work as only that part was ported to work with iOS internals …