Author Topic: Localization bug reporting  (Read 2728 times)

postpoll

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Localization bug reporting
« 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);
         }
      }
   }

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localization bug reporting
« Reply #1 on: February 10, 2015, 05:20:31 AM »
I'll change it on my end and see if it causes any issues.