Ejemplo n.º 1
0
 public static void Initialise()
 {
     LocalizedContentManager.OnLanguageChange += Translations.LocalizedContentManager_OnLanguageChange;
     Translations.SetForLanguage(code: LocalizedContentManager.CurrentLanguageCode);
     Translations.LoadTranslationPacks();
 }
Ejemplo n.º 2
0
 private static void LocalizedContentManager_OnLanguageChange(LocalizedContentManager.LanguageCode code)
 {
     Translations.SetForLanguage(code: code);
 }