Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: postpoll on February 09, 2015, 09:03:31 PM

Title: Localization bug reporting
Post by: postpoll on February 09, 2015, 09:03:31 PM
NGUI/Scripts/Internal/Localization.cs
Line 111 --> localizationHasBeenSet = true;
//should be erased to load bytes correctly.

static public string language
   {
      get
      {
         if (string.IsNullOrEmpty(mLanguage))
         {
            //localizationHasBeenSet = true;
            mLanguage = PlayerPrefs.GetString("Language", "English");
            LoadAndSelect(mLanguage);
         }
         return mLanguage;
      }
      set
      {
         if (mLanguage != value)
         {
            mLanguage = value;
            LoadAndSelect(value);
         }
      }
   }
Title: Re: Localization bug reporting
Post by: ArenMook on February 10, 2015, 05:20:31 AM
I'll change it on my end and see if it causes any issues.