# OpcClient.Locales Property

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcClient</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.client">Opc.UaFx.Client</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcClient Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Gets a collection of locales supported/used by the client.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcLocaleCollection Locales { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property Locales As OpcLocaleCollection
```

</div>

**Property value**

[OpcLocaleCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opclocalecollection/)

An instance of the [OpcLocaleCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opclocalecollection/) which can be used to setup the supported/used locales. While each entry is a pure string representation of the locales supported/used it is important to use the same notation of the values provided by [Name](https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.name) (e.g. 'en' for english locales or 'de' for german locales, ...). Leave the collection provided empty to use the servers default locale.
