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