Change language RadGridView

1 Answer 127 Views
GridView Localization
Deuxieme
Top achievements
Rank 1
Deuxieme asked on 18 May 2023, 04:58 PM

Hi,

im unable to change my RadGridView language to French. Following this page :

https://docs.telerik.com/devtools/wpf/common-information/common-localization

I wrote this in the App.xaml.cs : 

Thread.CurrentThread.CurrentCulture = new CultureInfo("fr");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr");
Telerik.Windows.Controls.LocalizationManager.DefaultCulture = new CultureInfo("fr");

Then my RadGridView control have the "Language="fr" tag in the xaml.

The language of the filters are still in English.

I can see a dll called "Telerik.Windows.Controls.resources.dll in the documentation but can't find it anywhere.

Thank you

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 19 May 2023, 11:13 AM

Hello Deuxieme,

In order to enable the localization resources and translate the Telerik controls to one of the supported languages, you should include also the associated satellite assemblies. For example, to use French you should have a folder named "fr" where your Telerik dlls are located. This folder should contain the Telerik.Windows.Controls.resources.dll. (see the attached picture).

Note that the you should not reference the Telerik.Windows.Controls.resources.dll in the project, but only place in the proper directory (the one where the Telerik dlls are located). 

The "fr" folder is available in the Telerik installation folder. In case you use NuGet packages to install the Telerik product and if you use the separate packages, you should install also the Telerik.Windows.Controls.for.Wpf.fr package.

I hope that helps.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
GridView Localization
Asked by
Deuxieme
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or