Introduce Culture model to avoid CultureInfo.DisplayName issue

This commit is contained in:
hishamco
2020-12-03 14:05:49 +03:00
parent 1b3cc2c44e
commit a37eb8a44a
5 changed files with 40 additions and 9 deletions

View File

@ -1,11 +1,13 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Oqtane.Models;
namespace Oqtane.Services
{
public interface ILocalizationService
{
Task<string> GetDefaultCulture();
Task<Culture> GetDefaultCulture();
Task<string[]> GetSupportedCultures();
Task<IEnumerable<Culture>> GetSupportedCultures();
}
}