Hi,
I facing a problem that differentiate Chinese simplified and Chinese traditional
I use this code to get the iphone current language but when turn to Chinese simplified or Chinese traditional, it return "zh". so how could i know either is simplified or traditional?
Thank you
I facing a problem that differentiate Chinese simplified and Chinese traditional
B4X:
Dim no As NativeObject
Dim lang As String = no.Initialize("NSLocale") _
.RunMethod("preferredLanguages", Null).RunMethod("objectAtIndex:", Array(0)).AsString
If lang.Length > 2 Then lang = lang.SubString2(0, 2)
Return lang
I use this code to get the iphone current language but when turn to Chinese simplified or Chinese traditional, it return "zh". so how could i know either is simplified or traditional?
Thank you