# LocaleOverride

> The locale used to resolve this reference instead of the locale selected in the project settings.

## Definition

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

```csharp
public LocaleIdentifier LocaleOverride { get; set; }
```

### Remarks

Set this to force a specific locale regardless of the current selection. When the identifier is undefined (the default), the reference resolves in the selected locale. Use [LocalizedReference.HasLocaleOverride](/engine/6000.7/script-reference/unity/localization/localizedreference/haslocaleoverride.md) to check whether an override is set. Assigning a new value re-resolves the reference and notifies any live listeners.
