Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: juliusdays on June 16, 2014, 08:24:24 AM

Title: Localization not working in android and iOS
Post by: juliusdays on June 16, 2014, 08:24:24 AM
Hello, I'm new with unity and NGUI. I using localisation for UILabel and UISprite and I make modification so the Audio Source can be localize. In unity editor everything is working, but in android and iOS not working. I using NGUI free version. Maybe something i missed? Thanks :)

Edit:
this is code i use localization
  1. for ( int i = 1; i <= 20; i++ )
  2. {
  3. GameObject flashCard = CreateFlashCard ();
  4.  
  5.                                 // sound sfx
  6.                                 AudioSource sfxCard = flashCard.GetComponent<AudioSource>();
  7.  
  8.                                 string sourcePath = "Sounds/number" + i.ToString() + "-en";
  9.                                 sfxCard.clip = Resources.Load ( sourcePath ) as AudioClip;
  10.                                
  11.                                 UILocalize uiLocal = flashCard.GetComponentInChildren<UILocalize>();
  12.                                 uiLocal.key = "CategoryNumber" + i.ToString();
  13.  
  14.                                 Debug.Log ( "load music " + sfxCard.clip.name);
  15.  
  16.                                 SoundLocalize sl = flashCard.GetComponent<SoundLocalize>();
  17.                                 sl.Localize ();
  18. }
  19.  
Title: Re: Localization not working in android and iOS
Post by: ArenMook on June 16, 2014, 09:01:55 AM
I'm sorry but the free version doesn't come with any kind of support. That's why it's free.