Hi,
I have a small web site and im trying to get the languages to be interchangable between English, French, German and Japanese.
I'm using LinkButtons at the top of each page and am trying to figure out the code to change the language.
I currently have this in the web.config file:
<globalization culture="auto" uiCulture="auto" />
but would like to be able to override the auto detection, incase a user wishes to change the language manually.
I've been trying to use several websites, including this one: http://www.intrepidstudios.com/blog/2008/02/using-localization-in-aspnet.html to help but keep running into this error:
"System.Configuration.Provider.ProviderException - This property cannot be set for anonymous users."
are there any tutorials out there or advice that someone can give me for using linkbuttons to change the culture, or am i using the wrong control entirely?
Thanks,
I have a small web site and im trying to get the languages to be interchangable between English, French, German and Japanese.
I'm using LinkButtons at the top of each page and am trying to figure out the code to change the language.
I currently have this in the web.config file:
<globalization culture="auto" uiCulture="auto" />
but would like to be able to override the auto detection, incase a user wishes to change the language manually.
I've been trying to use several websites, including this one: http://www.intrepidstudios.com/blog/2008/02/using-localization-in-aspnet.html to help but keep running into this error:
"System.Configuration.Provider.ProviderException - This property cannot be set for anonymous users."
are there any tutorials out there or advice that someone can give me for using linkbuttons to change the culture, or am i using the wrong control entirely?
Thanks,