Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: vip_prizrak_3 on September 10, 2015, 09:14:19 AM

Title: Localization language
Post by: vip_prizrak_3 on September 10, 2015, 09:14:19 AM
Hi! Please help.
Can I change in runtime the language of localization?

In Start() I set default language:
Localization.language = "some language 1";

And then in the runtime I want to change it
Localization.language = "some language 2";

But the language has not changed, it is required to restart the game.

I use NGUI 3.9.1 and Unity 5.1. Prior to that I used ngui 3.7 and there it was possible to do that.

 
Title: Re: Localization language
Post by: Holy Manfred on September 10, 2015, 12:43:54 PM
I use 5.2.0f3 and NGUI 3.9.2 and it works fine for me. Maybe the language string is incorrect or something?
Title: Re: Localization language
Post by: ArenMook on September 13, 2015, 05:48:17 AM
Indeed works fine in 3.9.2. NGUI has an example that tests localization and has a drop-down that changes the language.
Title: Re: Localization language
Post by: vip_prizrak_3 on September 15, 2015, 08:25:55 AM
Thank you.
I have every language localization was in a separate file, because this was a problem.