Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Loading Resources From .RESX Files

$
0
0

Hi,

I have two resources, one for the english language (neutral language), other for the portuguese. The first is called Resources.resx and the second, Resources.PT.resx. Both are compiled as embedded resources using tool ResXFileCodeGenerator.

The problem: when I try to load a resource using ResourceManager, even if the CurrentCulture and CurrentUICulture properties of the Thread are set to pt-PT, it never loads the portuguese resource, always the english one.

What am I doing wrong?

Thanks,

RP


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>