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