Пример #1
0
 public static string GetLanguageCode(string languageName)
 {
     return(Languages.FindLanguageCode(languageName) ?? Languages.DefaultLanguage.Code);
 }
Пример #2
0
 public static bool IsSupportedLanguageCode(string languageCode)
 {
     return(Languages.FindLanguageByLanguageCodeInternal(languageCode) != null);
 }