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

Localization problems?

5 Answers 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jeppe
Top achievements
Rank 1
Jeppe asked on 18 Mar 2011, 08:06 AM
I have used the radgrid.main.xx.resx (where xx = fr, es, etc.) file to localize my application, but I am a little confused. In the resx file, I have translated the ResourceKey "GroupPanelText" (and others), but that has no effect.
 
Reading through the documentation I have now found out, that I have to use the ResourceKey "GridViewGroupPanelText" rather than "GroupPanelText" as shown in the resx file.

Is that correct - or have I missed out a point somewhere?

Is there any way to "merge" two or more resx files without doing it manually? E.g. Radgrid and RadScheduler on the same page?

p.s. I am using the Q1 - 2011 version (just updated fra Q3 2010)

Kind regards

..Jeppe

5 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 18 Mar 2011, 11:41 AM
Hi Jeppe,

Indeed, you have use the exact same keys - in this case GridViewGroupPanelText instead of GroupPanelText. Otherwise the grid will not be able to associate the localized string to the corresponding key. You may take a look at our online documentation for a reference on the keys used in the RadGridView. 
Furthermore, you may define all the keys and their corresponding values in a single file. There is no need to add separate files for each control.
 

All the best,
Maya
the Telerik team
0
Jeppe
Top achievements
Rank 1
answered on 18 Mar 2011, 12:27 PM
Thank You. 

That was more or less what I thought, but as I said, I was a bit confused, that the Telerik supplied resx file is not "correct".

Have you got a downloable file somewhere (xml, xls, whatever), which contains all resourcekeys for all your controls?

..Jeppe
0
Maya
Telerik team
answered on 18 Mar 2011, 01:55 PM
Hi Jeppe,

I am sending you a list of all the resource with the keys and the corresponding values.
I hope that helps.
 

Greetings,
Maya
the Telerik team
0
Jeppe
Top achievements
Rank 1
answered on 18 Mar 2011, 02:00 PM
Perfect - Thanks:O)

..Jeppe
0
Anne Lyon
Top achievements
Rank 1
answered on 18 Nov 2011, 12:12 PM
Posted in the wrong place, please ignore!
Tags
GridView
Asked by
Jeppe
Top achievements
Rank 1
Answers by
Maya
Telerik team
Jeppe
Top achievements
Rank 1
Anne Lyon
Top achievements
Rank 1
Share this question
or