예제 #1
0
 /// <summary>
 /// Changes the current lagnuage
 /// </summary>
 /// <param name="language">New Language</param>
 static public void ChangeLanguage(string language)
 {
     if (_stringProvider == null)
     {
         Load(language);
     }
     else
     {
         _stringProvider.ChangeLanguage(GetCultureName(language));
     }
 }
예제 #2
0
 public static void ChangeLanguage(string language)
 {
     GUIFontManager.ClearFontCache();
     if (_stringProvider == null)
     {
         Load(language);
     }
     else
     {
         _stringProvider.ChangeLanguage(GetCultureName(language));
         if (_stringProvider.Characters > GUIGraphicsContext.CharsInCharacterSet)
         {
             GUIGraphicsContext.CharsInCharacterSet = _stringProvider.Characters;
         }
     }
 }