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?
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?