| Parameter | Description |
|---|---|
| locale | The locale to register as available. |
Registers a locale as available, deduplicated by locale code.
Adds the locale to LocalizationSettings.AvailableLocales unless a locale with the same LocaleIdentifier
is already registered, in which case the call is ignored. A null locale is ignored. Use
LocalizationSettings.RemoveLocale to remove a locale.
<para>Registers a French locale.</para>
using Unity.Localization;
namespace Unity.Localization.Samples { public class AddLocaleExample { public void Run() { LocalizationSettings.Instance.AddLocale(new Locale("fr", "French")); } } }