public void SetLocale(LOCALE locale) { Managers.Data.FileData.Locale = locale; LoadLocale(locale); Managers.Data.Save(); //Messenger.Broadcast(Events.LOCALE_CHANGED); // Change this to scene reload. }
private void LoadLocale(LOCALE locale) { switch (locale) { case LOCALE.EN: LocalizedDictionary = GetLocaleDictFromFile("EN"); break; default: LocalizedDictionary = GetLocaleDictFromFile("EN"); break; } }