using System.Collections.Generic;
namespace UnityEngine.Localization.Settings
{
///
/// Holds the Locale's that the project supports.
///
public interface ILocalesProvider
{
///
/// The list of Locales available.
///
List Locales { get; }
///
/// Attempt to retrieve a Locale using the identifier.
///
/// to find.
/// If no Locale can be found then null is returned.
Locale GetLocale(LocaleIdentifier id);
///
/// Add a Locale to allow support for a specific language.
///
/// The locale to add.
void AddLocale(Locale locale);
///
/// Removes support for a specific Locale.
///
/// The locale that should be removed if possible.
/// true if the locale was removed or false if the locale did not exist.
bool RemoveLocale(Locale locale);
}
}