ResourceManager won't load sattelite culture

S

secure_guy

I'm using really simple code, and this worked for a while, but it
stopped working. I can now never display in French. I saw an aricle on
impersonation, but I'm not using impersonation. I have an fr-CA
directory with a dll in it so it's building correctly.

private void Page_Load(object sender, System.EventArgs e)
{
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-CA");
Thread.CurrentThread.CurrentUICulture =
Thread.CurrentThread.CurrentCulture;
ResourceManager res = new
ResourceManager("SRCoprorate.framework.languageChooser",typeof(languageChooser).Assembly);
Label1.Text =
res.GetString("lblLanguage",Thread.CurrentThread.CurrentCulture);
}


The above code is in a user control. I'm pulling my hair out trying to
get the sattelite assembly to load, but I can only display english. Any
more thoughts?
 
S

secure_guy

Actually, I am getting a 'No Symbols Loaded' for the resource dll in
the output screen when I build the project. Any ideas why that might be?
 
S

secure_guy

Actually, I am getting a 'No Symbols Loaded' for the resource dll in
the output screen when I build the project. Any ideas why that might be?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top