兼容win7版应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
672 B

using AIK.Models.SystemSettings;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AIK.Service.IService
{
public interface ILocalizationService
{
CultureInfo CurrentCulture { get; }
IEnumerable<CultureInfo> SupportedCultures { get; }
IEnumerable<LanguageItems> SupportedLanguages { get; }
event EventHandler LanguageChanged;
Task InitializeAsync(string language);
void SetLanguage(string cultureName);
string GetString(string key);
string GetString(string key, CultureInfo culture);
}
}