public void LanguageConfigurationTest() { IList <string> languages = LanguageDbLoader.GetLanguages(); Assert.IsNotNull(languages); Assert.IsTrue(languages.Count > 0); Assert.IsTrue(languages.Contains(Localizer.lngEn)); }
public IList <string> GetLanguages() { try { return(LanguageDbLoader.GetLanguages()); } catch (Exception ex) { m_Trace.TraceError(ex, "Couldn't load supported languages from database."); throw; } }