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

Translate Header text

2 Answers 164 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ekc ekc
Top achievements
Rank 1
ekc ekc asked on 12 Jul 2010, 08:32 AM
Hi Telerik team,

i got a problem when doing translation to the header text of a RadGrid, and it's not using the culture. Language changing is actually from a dropdownlist, for example the dropdownlist has 3 items, english, chinese and spanish. and this Language dropdownlist is actually built as a user control. so every aspx page will have this user control and the function to translate is actually inside this user control as well. the function consists of 3 parameters, Page.Controls, newlanguage and oldlanguage. whenever i select a language, say spanish, it will pass the 'spanish' as newlanguage and 'english' as oldlanguage (by default oldlanguage is english) and then after translation, set the oldlanguage = newlanguage. after that i'll pass all the controls from the aspx page to translate, which is the Page.Controls. my problem here is only with RadGrid, i've no problem with label and other controls. for RadGrid, the translation seems a step behind, for example i change language from english to spanish and then to chinese, the RadGrid will stay in english at spanish stage, and then spanish at chinese stage.


Regards.

2 Answers, 1 is accepted

Sort by
0
ekc ekc
Top achievements
Rank 1
answered on 13 Jul 2010, 07:50 AM
hiiiiiiiii anybody home?
0
Mira
Telerik team
answered on 15 Jul 2010, 10:05 AM
Hello,

Please take a look at the Localizing the grid headers help topic to see how to localize the header text properly.

I hope this helps.

Sincerely yours,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
ekc ekc
Top achievements
Rank 1
Answers by
ekc ekc
Top achievements
Rank 1
Mira
Telerik team
Share this question
or