using System.Collections.Generic; using System.Globalization; using MediaBrowser.Model.Entities; namespace MediaBrowser.Model.Globalization { /// /// Interface ILocalizationManager. /// public interface ILocalizationManager { /// /// Gets the cultures. /// /// . IEnumerable GetCultures(); /// /// Gets the countries. /// /// . IEnumerable GetCountries(); /// /// Gets the parental ratings. /// /// . IEnumerable GetParentalRatings(); /// /// Gets the rating level. /// /// The rating. /// or null. int? GetRatingLevel(string rating); /// /// Gets the localized string. /// /// The phrase. /// The culture. /// . string GetLocalizedString(string phrase, string culture); /// /// Gets the localized string. /// /// The phrase. /// System.String. string GetLocalizedString(string phrase); /// /// Gets the localization options. /// /// . IEnumerable GetLocalizationOptions(); /// /// Returns the correct for the given language. /// /// The language. /// The correct for the given language. CultureDto? FindLanguageInfo(string language); } }