Author Topic: Localization not working in android and iOS  (Read 2869 times)

juliusdays

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Localization not working in android and iOS
« 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.  
« Last Edit: June 16, 2014, 08:31:06 AM by juliusdays »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localization not working in android and iOS
« Reply #1 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.