Change language of a page

Vote:
 
Is there a way of changing the language of a page wihtout setting a cookie and doing a redirect? Most search engines exclude redirect pages from their index (even if the pages redirect to them selves) which is kind of a bad thing if you set the language based on what URL the visitor used and then reload the page with a Response.Redirect() to load the new language :-) /Patrik
#12269
Mar 25, 2008 18:34
Vote:
 
HttpContext.Current.Items["epslanguage"] = "EN";
#13948
Mar 25, 2008 18:43
Vote:
 
That had absolutely no effect for me when I put that in Page_Init(). Do I need to do anything else after that for the new language to be displayed?
#13949
Mar 25, 2008 18:43
Vote:
 
I managed to get it to work by setting Session["epslanguage"] = "NO" and not making a redirect. /Patrik
#13950
Mar 25, 2008 18:43
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.