public static string getString(int stringId, string locale)
 {
     LocaleManager.getLocaleIndex(locale);
     if (LocaleManager.strings == null)
     {
         LocaleManager.strings = JavaLib.contentManager.Load <Data>("MasterTextFile").Grid[LocaleManager.m_currentLocaleIndex];
     }
     return(LocaleManager.strings[stringId]);
 }
        public void setLocale(string locale)
        {
            int localeIndex = LocaleManager.getLocaleIndex(locale);

            if (localeIndex != -1)
            {
                LocaleManager.m_currentLocaleIndex = localeIndex;
                this.m_currentLocale = locale;
            }
            else
            {
                LocaleManager.m_currentLocaleIndex = 0;
                this.m_currentLocale = "en";
            }
        }