public async Task SetDefaultLanguage(SetDefaultLanguageInput input)
 {
     await _applicationLanguageManager.SetDefaultLanguageAsync(
         AbpSession.TenantId,
         GetCultureInfoByChecking(input.Name).Name
         );
 }
 public async Task SetDefaultLanguage(SetDefaultLanguageInput input)
 {
     await _languageManager.SetDefaultLanguageAsync(
         AbpSession.TenantId,
         CultureHelper.GetCultureInfo(input.Name).Name
         );
 }
예제 #3
0
 public async Task SetDefaultLanguageAsync(int?tenantId, string languageName)
 {
     await _languageManager.SetDefaultLanguageAsync(tenantId, languageName);
 }
예제 #4
0
 public Task SetDefaultLanguage(ChangeLanguageInput changeLanguageInput)
 {
     return(_appLanguageManager.SetDefaultLanguageAsync(changeLanguageInput.TenantId,
                                                        changeLanguageInput.LanguageName));
 }