# Localization

When you limit your product's availability to only one language, you limit your potential customer base to a fraction of the world population. If you want your application to reach a global audience, cost-effective **localization** of your product is one of the best and most economical ways to reach more customers.

> **Localization** is the translation of application resources into localized versions for the specific cultures that the application supports.

This article will show you how to localize any resource string used by Telerik UI controls. We will discuss the following topics:

* [Localization Using Built-in Resources](https://www.telerik.com/products/wpf/documentation/common-information/common-localization#localization-using-built-in-resources)

* [Resource keys](https://www.telerik.com/products/wpf/documentation/common-information/common-localization#resource-keys)

* [Localization Using ResourceManager](https://www.telerik.com/products/wpf/documentation/common-information/common-localization#localization-using-resourcemanager)

* [Localization using custom localization manager](https://www.telerik.com/products/wpf/documentation/common-information/common-localization#localization-using-custom-localization-manager)

* [LocalizableResourceExtension](https://www.telerik.com/products/wpf/documentation/common-information/common-localization#localizableresourceextension)

* [Dynamic Localization](https://www.telerik.com/products/wpf/documentation/common-information/common-localization#dynamic-localization)

> All examples in this article are demonstrated in the context of the Telerik **RadGridView** control. However, the techniques and principles used for the localization of the string resources are valid for all the other Telerik **WPF controls**.

## Localization Using Built-in Resources

The built-in localization mechanism in WPF provides the possibility to easily set the used Telerik WPF controls in one of the following supported languages:

* **English**

* **German**

* **Spanish**

* **French**

* **Italian**

* **Dutch**

* **Turkish**

The default is English, but you can find a separate file for each of the other languages in a corresponding folder together with the other binaries in your local installation.

> If you need to translate your control into a different language, you should use a [Custom Localization Manager](https://www.telerik.com/products/wpf/documentation/common-information/common-localization#localization-using-custom-localization-manager).

To localize your controls using the built-in localization mechanism, the satellite assemblies for the desired language must be present in your project. You can obtain these assemblies in one of the following ways:

### Using NuGet Packages

Starting with the **Q2 2026** release, the localization satellite assemblies for all supported languages are included in the main `Telerik.Windows.Controls.for.Wpf` NuGet package (or `Telerik.Windows.Controls.for.Wpf.Xaml` for Xaml builds). No additional packages are required—installing the main controls package automatically provides the localization resources.

For releases **prior to Q2 2026**, you need to install a separate NuGet package for each language. The packages follow the naming convention `Telerik.Windows.Controls.for.Wpf.<language code>`. For example:

* `Telerik.Windows.Controls.for.Wpf.de` (German)
* `Telerik.Windows.Controls.for.Wpf.fr` (French)
* `Telerik.Windows.Controls.for.Wpf.es` (Spanish)

For more details about the available localization NuGet packages, see [Available NuGet Packages](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/available-packages#nuget-packages-and-controls-localization).

### Using Local Assemblies

Alternatively, you can place the resource folders along with the binaries you have referenced, as shown in the following image.

> caption Placing the resource folders in your project

![Telerik UI for WPF localization resource folders added to a project](https://www.telerik.com/products/wpf/documentation/assets/f66e9bb983a000315f15e49ef50f4fa3/common_localization_050.png)

### Setting the Application Culture

The next step for defining the language settings of the application is changing the **Current Culture** of the application:

**Setting the current culture of the application**

```C#
	public App()
	{
	    Thread.CurrentThread.CurrentCulture = new CultureInfo("de");
	    Thread.CurrentThread.CurrentUICulture = new CultureInfo("de");
	}
```

```VB.NET
	Public Sub New()
	    Thread.CurrentThread.CurrentCulture = New CultureInfo("de")
	    Thread.CurrentThread.CurrentUICulture = New CultureInfo("de")
	End Sub
```

That's it. Your controls should now be localized in the preferred language.

> caption RadGridView localized in German

![Telerik UI for WPF RadGridView localized in German](https://www.telerik.com/products/wpf/documentation/assets/e6aa789c735418ee1769f4f7fd7ecaed/common_localization_070.png)

## Resource Keys

Some of the controls are complex user interface controls (e.g., **RadGridView**, **RadScheduleView**) and their strings for localization are numerous. In order to be able to distinguish these resources, a unique identifier called **resource key** is assigned to each localizable string.

The following image shows some resource keys and the strings they are associated with.

> caption Some of RadGridView's resource keys and their values

![Telerik UI for WPF RadGridView resource keys and localized strings](https://www.telerik.com/products/wpf/documentation/assets/b6f49f184e8dff8fc4bba408efb5d487/common_localization_060.png)

> tip For a full list of **resource keys**, check out the **Localization** topic for the specific control.

> tip You can find the ".resx" files containing the translations for the supported languages inside the "Core\Controls" directory of the [source code](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/download-product-files#source-code).

## Localization Using ResourceManager

If you need to modify the default strings for a chosen language, you can base your localization on the standard resource files. For that purpose, you will have to create a separate **.resx** file for each of the languages that your application will support.

Imagine that you want to translate your control, RadGridView for example, into English, German and Dutch. You will have to add three new resource files to your project:

* **GridViewResources.resx** - this resource file will store the **English(default)** resources for the grid control. Set the **AccessModifier** property to **Public**.

* **GridViewResources.de.resx** - this resource file will store the **German** resources for the grid control. Set the **AccessModifier** property to  **No code generation**.

* **GridViewResources.nl.resx** - this resource file will store the **Dutch** resources for the grid control. Set the **AccessModifier** property to **No code generation**.

> caption Creating separate .resx files for each of the supported languages

![Telerik UI for WPF localized resource files created for multiple languages](https://www.telerik.com/products/wpf/documentation/assets/1de9acc919407c92faf42b175705d0aa/common_localization_030.png)

Now that you have the needed files, it's time to localize only the text for the group panel. For that purpose, you need to create a single resource string in each one of the three resource files and translate it to the appropriate language.

> Note that the name of the resource string should be the same as the resource key for the string that you are localizing. The resource key for RadGridView's group panel is **GridViewGroupPanelText**.

> tip For a full list of **resource keys**, check out the **Localization** topic for the specific control.

The following image shows the content of the **GridViewResources.de.resx** file. The resource **Name** (**GridViewGroupPanelText**) of the other two files should be the same. The **Value** column will contain the translation for the appropriate language.

> caption The content of GridViewResources.de.resx

![Telerik UI for WPF German resource file with a translated RadGridView resource value](https://www.telerik.com/products/wpf/documentation/assets/31102edefa25c99849beb221968b2da8/common_localization_040.png)

The last step is to instantiate the **LocalizationManager** class, which allows you to easily localize any Telerik UI controls, by going through all resource keys and returning the appropriate translation. You then set its **ResourceManager** to the resources that have just  been created (you can do this in the default constructor of the Application class).

**Setting the LocalizationManager's ResourceManager**

```C#
	LocalizationManager.Manager = new LocalizationManager()
	{
	   ResourceManager = GridViewResources.ResourceManager
	};
```

```VB.NET
	LocalizationManager.Manager = New LocalizationManager()
	LocalizationManager.Manager.ResourceManager = GridViewResources.ResourceManager
```

> If you rely on culture settings to load the right resources automatically, you have to write some code inside your application's project file. For example, if you have to support English and Dutch languages, you can store the localized strings in **Resources.resx** and **Resources.nl.resx** files. For the **Resources.resx** file, you can set **ResXFileCodeGenerator** to **Internal** or **Public** and for others, to **No code generation**.

## Localization Using Custom Localization Manager

If you want to translate your controls to a language different from the default available ones, you will need to create a custom **LocalizationManager**. To do so, create a class that derives from **LocalizationManager** and override its **GetStringOverride()** method. The logic is pretty simple - you just have to create a switch statement and return the correct translation for each resource key, as shown below:

**Overriding the LocalizationManager's GetStringOverride() method**

```C#
	public class CustomLocalizationManager : LocalizationManager
	{
	  public override string GetStringOverride(string key)
	  {
	      switch( key )
	      {
	          case "GridViewGroupPanelText":
	              return "Zum gruppieren ziehen Sie den Spaltenkopf in diesen Bereich.";
	          //---------------------- RadGridView Filter Dropdown items texts:
	          case "GridViewClearFilter":
	              return "Filter löschen";
	          case "GridViewFilterShowRowsWithValueThat":
	              return "Anzeigen der Werte mit Bedingung:";
	          case "GridViewFilterSelectAll":
	              return "Alles anzeigen";
	          case "GridViewFilterContains":
	              return "Enthält";
	          case "GridViewFilterEndsWith":
	              return "Endet mit";
	          case "GridViewFilterIsContainedIn":
	              return "Enthalten in";
	          case "GridViewFilterIsEqualTo":
	              return "Gleich";
	          case "GridViewFilterIsGreaterThan":
	              return "Grösser als ";
	          case "GridViewFilterIsGreaterThanOrEqualTo":
	              return "Grösser oder gleich";
	          case "GridViewFilterIsLessThan":
	              return "Kleiner als";
	          case "GridViewFilterIsLessThanOrEqualTo":
	              return "Kleiner oder gleich";
	          case "GridViewFilterIsNotEqualTo":
	              return "Ungleich";
	          case "GridViewFilterStartsWith":
	              return "Beginnt mit";
	          case "GridViewFilterAnd":
	              return "Und";
	          case "GridViewFilter":
	              return "Filter";
	      }
	      return base.GetStringOverride(key);
	  }
```

```VB.NET
	Public Class CustomLocalizationManager
	 Inherits LocalizationManager
	 Public Overrides Function GetStringOverride(key As String) As String
	  Select Case key
	   Case "GridViewGroupPanelText"
	    Return "Zum gruppieren ziehen Sie den Spaltenkopf in diesen Bereich."
	   '---------------------- RadGridView Filter Dropdown items texts:'
	   Case "GridViewClearFilter"
	    Return "Filter löschen"
	   Case "GridViewFilterShowRowsWithValueThat"
	    Return "Anzeigen der Werte mit Bedingung:"
	   Case "GridViewFilterSelectAll"
	    Return "Alles anzeigen"
	   Case "GridViewFilterContains"
	    Return "Enthält"
	   Case "GridViewFilterEndsWith"
	    Return "Endet mit"
	   Case "GridViewFilterIsContainedIn"
	    Return "Enthalten in"
	   Case "GridViewFilterIsEqualTo"
	    Return "Gleich"
	   Case "GridViewFilterIsGreaterThan"
	    Return "Grösser als "
	   Case "GridViewFilterIsGreaterThanOrEqualTo"
	    Return "Grösser oder gleich"
	   Case "GridViewFilterIsLessThan"
	    Return "Kleiner als"
	   Case "GridViewFilterIsLessThanOrEqualTo"
	    Return "Kleiner oder gleich"
	   Case "GridViewFilterIsNotEqualTo"
	    Return "Ungleich"
	   Case "GridViewFilterStartsWith"
	    Return "Beginnt mit"
	   Case "GridViewFilterAnd"
	    Return "Und"
	   Case "GridViewFilter"
	    Return "Filter"
	  End Select
	  Return MyBase.GetStringOverride(key)
	 End Function
	End Class
```

Of course, if you don't want to hard-code your translation inside your source code, you can always use resource files:

**Using resource files in the GetStringOverride() method**

```C#
	public override string GetStringOverride(string key)
	{
	   switch( key )
	   {
	       //----------------------
	       case "GridViewClearFilter":
	           return GridViewResources.GridViewClearFilter;
	       //----------------------
	   }
	   return base.GetStringOverride(key);
	}
```

```VB.NET
	Public Overloads Overrides Function GetStringOverride(ByVal key As String) As String
	    Select Case key
	        '----------------------'
	        Case "GridViewClearFilter"
	            Return GridViewResources.GridViewClearFilter
	        '----------------------'
	    End Select
	    Return MyBase.GetStringOverride(key)
	End Function
```

All that's left to do is to set our CustomLocalizationManager to the static Manager property of the LocalizationManager. Please note that you need to do this assignment prior to invoking the InitializeComponent method of the affected controls.

**Applying the custom LocalizationManager**

```C#
	LocalizationManager.Manager = new CustomLocalizationManager();
    InitializeComponent();
```

```VB.NET
	LocalizationManager.Manager = New CustomLocalizationManager()
	InitializeComponent()
```

## LocalizableResourceExtension

The LocalizableResourceExtension is a handy markup extension that returns a localization string based on a given key.

**Using the LocalizableResourceExtension**

```XAML
	<telerik:RadButton Content="{telerik:LocalizableResource Key=GridViewClearFilter}" Click="GridView_ClearFilter" />
```

In the example above, it uses the GridViewClearFilter key provided by the default ResourceManager of the LocalizationManager, however, you can easily use your own keys by specifying a [custom ResourceManager](https://www.telerik.com/products/wpf/documentation/common-information/common-localization#localization-using-resourcemanager).

**Get custom localization string**

```XAML
	<telerik:Label Content="{telerik:LocalizableResource Key=EmployeeString}" />
```

## Dynamic Localization

The LocalizationManager class also exposes a static boolean **UseDynamicLocalization** property which you can set to **True** to update your controls if a culture change occurs during runtime.

**Get custom localization string**

```C#
    LocalizationManager.UseDynamicLocalization = true;
```

```VB.NET
    LocalizationManager.UseDynamicLocalization = True
```

With this setting, changing the **Culture** of the LocalizationManager will update any strings localized using the LocalizableResource extension.

**Applying the custom LocalizationManager**

```C#
    LocalizationManager.Manager.Culture = new CultureInfo("de");
```

```VB.NET
    LocalizationManager.Manager.Culture = New CultureInfo("de")
```

## See Also

* [Extract the Default Telerik Localization Resources](https://www.telerik.com/products/wpf/documentation/knowledge-base/kb-localization-extract-resx-files)
