Ruth Dahan
Top achievements
Rank 1
Ruth Dahan
asked on 04 May 2009, 12:26 PM
Hi,
We are using several grids in our application and we support multi languages. we use resx files to localize our application.
Is there a way to localize all the grids (tooltips and any other telerik strings) at the same place/time and not set each parameter separately?
Thanks!
Ruth.
7 Answers, 1 is accepted
0
Accepted
Hi Ruth,
Basically, you need to localize each control separately. However, one possible option in this case would be to use one and the same event handler for all the grids. For example, if you are using the PreRender event handler to localize one grid, you can use the same handler to localize the other controls as well. This would, however, require a more generic approach, as the grid may be quite different.
Sincerely yours,
Yavor
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.
Basically, you need to localize each control separately. However, one possible option in this case would be to use one and the same event handler for all the grids. For example, if you are using the PreRender event handler to localize one grid, you can use the same handler to localize the other controls as well. This would, however, require a more generic approach, as the grid may be quite different.
Sincerely yours,
Yavor
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
Ruth Dahan
Top achievements
Rank 1
answered on 07 May 2009, 08:25 AM
Thanks!
Ruth.
Ruth.
0
Jean-Yves
Top achievements
Rank 1
answered on 15 May 2009, 01:51 PM
Hi,
I have quite the same problem,
But, I don't understand how you are using 'localization'.
May be you can give an example of organization ?
Thank you
Jean-Yves
0
Hello guys,
You can use the resource files from this code library entry as basis for your controls localization.
Best regards,
Sebastian
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.
You can use the resource files from this code library entry as basis for your controls localization.
Best regards,
Sebastian
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
Jean-Yves
Top achievements
Rank 1
answered on 15 May 2009, 02:58 PM
Great !
Thank you
0
Jean-Yves
Top achievements
Rank 1
answered on 15 May 2009, 04:05 PM
In fact, it's almost this.
But, is it possible to put this in a App_GlobalResources ?
And in that way all grid will be changed.
Thank
Jean-Yves
0
Hello Jean-Yves,
You can use global resource files (if you prefer) and place them in the App_GlobalResources folder of your web site as long as you define the corresponding key->value pairs in them. Review the following online resources which elaborate on this subject in detail:
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/localization.aspx
http://msdn.microsoft.com/en-us/magazine/cc163566.aspx
Kind regards,
Sebastian
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.
You can use global resource files (if you prefer) and place them in the App_GlobalResources folder of your web site as long as you define the corresponding key->value pairs in them. Review the following online resources which elaborate on this subject in detail:
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/localization.aspx
http://msdn.microsoft.com/en-us/magazine/cc163566.aspx
Kind regards,
Sebastian
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.