Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Magic Frame on June 24, 2014, 12:13:09 PM
-
Hi, I using NGUI 3.0.2 , I would like to know how I can change the language at runtime, I want to create a scene that contains the flags of different countries and if you touch a flag of Spain to change the texts to Spanish, Possible?
Another question, how can I detect the device language and the language automatically change the language of the phone.
P.D: my game is for iOS, Android and Facebook
-
Localization.language = "key_language"; is to change the language at run time.
To check the language of the device I recomend you to check the forums and documentation of unity, to check if there is a method to get that info.
http://docs.unity3d.com/ScriptReference/index.html
http://unity3d.com/community
These sites have more info about the methods of unity.