F
Franck
Hello
i try globalization for the first time
following step by step this link:
http://msdn.microsoft.com/asp.net/d...rary/en-us/dnaspp/html/aspnet-globalarchi.asp
I have a directory called resx, within 3 resx ressources
called basic.resx (english)
basic.fr.resx (french)
basic.en-CA.resx (english/Canada)
code
-----------------------------
setting the culture in the login page;
CultureInfo ci = new CultureInfo("fr");
System.Threading.Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture(ci.Name);
System.Threading.Thread.CurrentThread.CurrentUICulture = ci;
in a page
ResourceManager m_rm = new ResourceManager("MES.resx.basic",
System.Reflection.Assembly.GetExecutingAssembly());
lblNav.Text = m_rm.GetString("Welcome.lblNav")+ Request.Browser.Browser;
------------------------
but it doesn't change to french...
what am I missing?
thanks
Franck
i try globalization for the first time
following step by step this link:
http://msdn.microsoft.com/asp.net/d...rary/en-us/dnaspp/html/aspnet-globalarchi.asp
I have a directory called resx, within 3 resx ressources
called basic.resx (english)
basic.fr.resx (french)
basic.en-CA.resx (english/Canada)
code
-----------------------------
setting the culture in the login page;
CultureInfo ci = new CultureInfo("fr");
System.Threading.Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture(ci.Name);
System.Threading.Thread.CurrentThread.CurrentUICulture = ci;
in a page
ResourceManager m_rm = new ResourceManager("MES.resx.basic",
System.Reflection.Assembly.GetExecutingAssembly());
lblNav.Text = m_rm.GetString("Welcome.lblNav")+ Request.Browser.Browser;
------------------------
but it doesn't change to french...
what am I missing?
thanks
Franck