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

Translate description in RadGrid

8 Answers 286 Views
Grid
This is a migrated thread and some comments may be shown as answers.
wnl
Top achievements
Rank 1
wnl asked on 23 Apr 2009, 10:28 AM
Hi,
I want to translate commands in RadGrid of Telerik 2009 SP1. Image below shows my grid:
http://img515.imageshack.us/img515/1822/translate.jpg
Elements that I want to display with polish description are in red circle.
How can I do that in c# code?

8 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Apr 2009, 10:47 AM
Hi,

Here are some links that will help you out:

Localizing the GridPagerItem messages

PagerTextFormat


Thanks,
Princy


0
wnl
Top achievements
Rank 1
answered on 29 Apr 2009, 07:24 AM
Thanks.
0
wnl
Top achievements
Rank 1
answered on 30 Apr 2009, 08:33 AM
Hi again,
in telerik 2008 I had C# code:
rgMain.PagerStyle.PagerTextFormat = "Zmień stronę: {4} Strona {0} z {1}, wiersze {2} do {3} z {5}"
but after updated to 2009, not all text is translated to polish below grid:
http://img514.imageshack.us/img514/5401/telerikgrid.jpg

What should I change?
Thanks.
0
Daniel
Telerik team
answered on 30 Apr 2009, 10:24 AM
Hello Jaromine,

I created a demo website which translate the pager to Polish. Test it locally and let us know whether this helps.

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
wnl
Top achievements
Rank 1
answered on 30 Apr 2009, 11:30 AM
Thanks Daniel, but I want to set all in c# code in *.cs not in *.aspx.
So, your code:
<MasterTableView> 
                <PagerStyle Mode="NextPrevNumericAndAdvanced" PagerTextFormat="{4} Strona {0} z {1}, wiersze {2} do {3} z {5}" /> 
            </MasterTableView> 
isn't what I expected.
Could You modify your example?
0
Accepted
Daniel
Telerik team
answered on 30 Apr 2009, 03:27 PM
Hello Jaromin,

Please find the modified file, attached to this thread.

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
wnl
Top achievements
Rank 1
answered on 05 May 2009, 06:55 AM
Thanks :)
I have one question: is it proper to write c# code for translate grid in RadGrid_ItemCreated not in Page_Init?
0
Tiago
Top achievements
Rank 1
answered on 11 Apr 2011, 11:27 AM
I'm having some difficulties in translating the text component radgrid. How can I translate the "add new user " and "refresh" into Portuguese?
Tags
Grid
Asked by
wnl
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
wnl
Top achievements
Rank 1
Daniel
Telerik team
Tiago
Top achievements
Rank 1
Share this question
or