public void LoadLanguage() { if (!IsValidLanguage(LanguageStr)) { throw new Exception("Language is not valid in mainSettings!"); } Language = new Lang.Language(); Language.Load($"Config/Lang/{LanguageStr}"); }
public void LoadLanguage() { if (!IsValidLanguage(LanguageStr)) { throw new Exception("Language is not valid in mainSettings!"); } Language = new Lang.Language(); Language.Load(Path.Combine(ConfigPath, $"Lang/{LanguageStr}")); }