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();
///
/// Checks if the string contains a character with the specified unicode category.
///
/// The string.
/// The unicode category.
/// Wether or not the string contains a character with the specified unicode category.
bool HasUnicodeCategory(string value, UnicodeCategory category);
///
/// Returns the correct for the given language.
///
/// The language.
/// The correct for the given language.
CultureDto FindLanguageInfo(string language);
}
}