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

How to localize telerik controls globally & dynamically?

1 Answer 107 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hans van Rijnswoud
Top achievements
Rank 2
Hans van Rijnswoud asked on 03 Aug 2011, 10:05 AM

Hello,

I am working to implement localization of a big portal. There is a lot of different telerik  controls. I found that controls supports localization via Global resources and .resx files
The problems are that we are adding new languages dynamically and that number of controls is too big.

1) Is there any way how to implement translations dynamically i.e. without .resx files?
2) Is there some way how we can initialize culture globally (not for every control grid.Culture = ...) and individual for each request e.g. some global settings or something like that?

Thanks

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 05 Aug 2011, 02:52 PM
Hi Edwin,

The Culture for each controls by default is taken from the page's current UICulture.
So you don't need to set the Culture property for every control. You could just change the UICulture of the Page and all controls that has the required resx will automatically use it.
Also note that the UICulture is get from the Browser by default. So if you have users from different countries (different browser settings) all you need to do is to provide a proper resx files.

All the best,
Vasil
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
Hans van Rijnswoud
Top achievements
Rank 2
Answers by
Vasil
Telerik team
Share this question
or