/// <summary> /// Gets the languages for current tenant. /// </summary> public IReadOnlyList <LanguageInfo> GetLanguages() { var languageInfos = _applicationLanguageManager.GetLanguages(AbpSession.TenantId) .OrderBy(l => l.DisplayName) .Select(l => l.ToLanguageInfo()) .ToList(); SetDefaultLanguage(languageInfos); return(languageInfos); }