# SelectedLocale

> The currently selected locale, or null when none is selected.

## Definition

* **Type:** Property
* **Namespace:** [Unity.Localization](/engine/6000.7/script-reference/unity/localization.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

```csharp
public static Locale SelectedLocale { get; set; }
```

### Remarks

Reading this returns the active locale, falling back to [LocalizationSettings.ProjectLocale](/engine/6000.7/script-reference/unity/localization/localizationsettings/projectlocale.md) when no explicit selection has been made. Setting it changes the locale and raises [LocalizationSettings.SelectedLocaleChanged](/engine/6000.7/script-reference/unity/localization/localizationsettings/selectedlocalechanged.md). The value is stored as a locale code, so the assigned locale should be one of the [LocalizationSettings.AvailableLocales](/engine/6000.7/script-reference/unity/localization/localizationsettings/availablelocales.md).
