using System.Collections.Generic; using MediaBrowser.Model.Entities; using System.Globalization; namespace MediaBrowser.Model.Globalization { /// /// Interface ILocalizationManager /// public interface ILocalizationManager { /// /// Gets the cultures. /// /// IEnumerable{CultureDto}. CultureDto[] GetCultures(); /// /// Gets the countries. /// /// IEnumerable{CountryInfo}. CountryInfo[] GetCountries(); /// /// Gets the parental ratings. /// /// IEnumerable{ParentalRating}. ParentalRating[] GetParentalRatings(); /// /// Gets the rating level. /// /// The rating. /// System.Int32. int? GetRatingLevel(string rating); /// /// Gets the localized string. /// /// The phrase. /// The culture. /// System.String. string GetLocalizedString(string phrase, string culture); /// /// Gets the localized string. /// /// The phrase. /// System.String. string GetLocalizedString(string phrase); /// /// Gets the localization options. /// /// IEnumerable{LocalizatonOption}. LocalizatonOption[] GetLocalizationOptions(); string RemoveDiacritics(string text); string NormalizeFormKD(string text); bool HasUnicodeCategory(string value, UnicodeCategory category); } }