This is a migrated thread and some comments may be shown as answers.

GridView item localization

3 Answers 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Veteran
Iron
Michael asked on 30 Jun 2014, 01:40 PM
Hy!

I have a question about the localization of the GridView.

I have a sample project for testing the build-in localization of telerik controls.
The text of the GridView is localized correctly but the values of the items are not shown in the correct language format. (Number / DateTime)
This is shown in the picture below (see localization_de_sl.png).
In Telerik controls like RadNumericUpDown or RadDateTimePicker the format of the value is correct! (see localization_de_sl_correct.png)

I have defined the SupportedCulture property in the project file. The Resource files (Telerik.Windows.Controls.resources.dll) are available in the folder where I save the telerik dlls and where i reference in my sample project.
<SupportedCultures>en;de;es</SupportedCultures>
I use the latest Telerik version: 2014.2.617.1050

The sample project is a sample project from this thread:
http://www.telerik.com/forums/built-in-localization-for-de
The only thing i changed is that i remove the "Libs" folder from the project and reference directly to my telerik dlls.

Thx Mike

3 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
Veteran
Iron
answered on 30 Jun 2014, 03:53 PM
One more screenshot to see the difference!
0
Accepted
Dimitrina
Telerik team
answered on 01 Jul 2014, 07:13 AM
Hi Mike,

The formatting of RadGridView is language specific. In order to have the current culture settings respected, you should set the IsLocalizationLanguageRespected for the RadGridView to False. You can also check our online documentation for a further reference.

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Michael
Top achievements
Rank 1
Veteran
Iron
answered on 01 Jul 2014, 08:18 AM
Hy Didie!

Thx for teh reply!
This do it for me!

cheers
Mike
Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Veteran
Iron
Answers by
Michael
Top achievements
Rank 1
Veteran
Iron
Dimitrina
Telerik team
Share this question
or