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

Localization for RadGridView and RadUpload in the same page

4 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Louis Bouchard
Top achievements
Rank 1
Louis Bouchard asked on 03 Aug 2010, 08:39 PM
Localization work ok for my RadUpload  until I add an another one (For RadGridVIew) in the constructor.  Can you tell me how I can apply two localization like this :

LocalizationManager.Manager = new LocalizationManager()
{
    ResourceManager = myclass.Web.Resources.RadUploadResources.ResourceManager
};
LocalizationManager.Manager = new LocalizationManager()
{
    ResourceManager = myclass.Web.Resources.RadGridViewResources.ResourceManager
};

Thank you

4 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 04 Aug 2010, 08:18 AM
Hi Louis Bouchard,

In order to provide you with an appropriate solution, we would need more details about your exact scenario. Are you trying to localize the two RadControls simultaneously by using different Resource files? Or you need them to be translated depending on a certain condition? 
Following the way you are trying to specify the Localization, it is the expected behavior to dismiss the first setting of the LocalizationManager as you are trying to set two different Resource files to one and the same thing - Manger.


Kind regards,
Maya
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
0
Louis Bouchard
Top achievements
Rank 1
answered on 04 Aug 2010, 03:36 PM
Hello Maya,

I'm trying to localize the two RadControls simultaneously by using different Resource files.  I don't want to localize two different object in the  same resource.
0
Maya
Telerik team
answered on 04 Aug 2010, 04:30 PM
Hello Louis Bouchard,

For the time being there is no easy and straightforward way to set your application to use Resources from two different files. What you need to do in this case is to merge all the resource strings into one file and set it to the LocalizationManager.Manager property for example.
 

Regards,
Maya
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
0
Louis Bouchard
Top achievements
Rank 1
answered on 04 Aug 2010, 05:05 PM
Too bad.  Thanks for your time.
Tags
General Discussions
Asked by
Louis Bouchard
Top achievements
Rank 1
Answers by
Maya
Telerik team
Louis Bouchard
Top achievements
Rank 1
Share this question
or