# PlayerPreferenceKey

> The PlayerPrefs key used to store the selected locale code.

## Definition

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

```csharp
public string PlayerPreferenceKey { get; set; }
```

### Remarks

The locale code is stored in [PlayerPrefs](/engine/6000.7/script-reference/unityengine/playerprefs.md) under this key. The default key is `selected-locale`.
