public static string GetLanguageCode(string languageName) { return(Languages.FindLanguageCode(languageName) ?? Languages.DefaultLanguage.Code); }
public static bool IsSupportedLanguageCode(string languageCode) { return(Languages.FindLanguageByLanguageCodeInternal(languageCode) != null); }