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

LocalizationManager

0 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mallikarjun
Top achievements
Rank 1
Mallikarjun asked on 06 Dec 2011, 09:37 AM

Hi,

I want to localize the Silverlight application based on my xml files located on the server. I am inheriting the “LocalizationManager” class & overriding the “GetStringOverride” method. I have a WCF service that can read the xml file & return the resources collection. Obviously this will be a async call. My understanding is that we need to set the “LocalizationManager.Manager” static property with my class (inherited from “LocalizationManager” ) before calling the “InitializeComponent()” method. In the constructor of my class which is inhering the “LocalizationManager”, I make a WCF call to get the resources collection. Before I get the response from the WCF  service call, “InitializeComponent” method is fired where still my resource collection is empty & so I can’t see the localized content. Please let me know how can i achieve this scenario.

Thanks,

Mallikarjun

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Mallikarjun
Top achievements
Rank 1
Share this question
or