using System.Collections.Generic; using MediaBrowser.Model.Entities; namespace MediaBrowser.Model.Globalization { /// /// Interface ILocalizationManager /// public interface ILocalizationManager { /// /// Gets the cultures. /// /// IEnumerable{CultureDto}. IEnumerable GetCultures(); /// /// Gets the countries. /// /// IEnumerable{CountryInfo}. IEnumerable GetCountries(); /// /// Gets the parental ratings. /// /// IEnumerable{ParentalRating}. IEnumerable 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}. IEnumerable GetLocalizationOptions(); string RemoveDiacritics(string text); } }