RadDataGrid supports localization (the translation of application resources into localized versions for the specific cultures or into customized resources). In order to apply the localization you need to update the TelerikLocalizationManager.Manager by either creating a custom localization manager or set its ResourceManager property.

Custom TelerikLocalizationManager

You should create a custom class that inherits from TelerikLocalizationManager and override the GetString() method:

public class CustomTelerikLocalizationManager : TelerikLocalizationManager
    public override string GetString(string key)
        if (key == "FilterText")
            return "filtre";

        if (key == "FilterUISectionText")
            return "filtre par";

        if (key == "Contains")
            return "contient";

        return base.GetString(key);

Eventually, you should set it as the TelerikLocalizationManager.Manager:

TelerikLocalizationManager.Manager = new CustomTelerikLocalizationManager();


You should set the custom manager before the InitializeComponent() method is invoked otherwise the default values will be applied to the RadDataGrid.

Figure 1 shows the appearance of the filtering component within the RadDataGrid after the custom localization manager is applied.

Figure 1: Custom Localization Manager

custom localization manager

Custom ResourceManager

The second option for applying localization is through setting a custom ResourceManager:

TelerikLocalizationManager.Manager.ResourceManager = DataGridResource.ResourceManager;

You should add different resource files according to the different languages/cultures which you would like to use. Figure 2 shows an example of a custom resource file used for German:

Figure 2: Custom Resource File for German language

custom resource file

The resource file ends with "de.resx" and is automatically used when the language of your device is set to German.

Figure 3 shows the appearance of the filtering control when the localization is applied:

Figure 3: Custom Resource File for German language

custom resource manager

You can check a working example in the DataGrid/Localization/CustomResourceManager folder within the SDK Samples Browser.

See Also

In this article
Not finding the help you need? Improve this article