Page Language

j j
j j

Hi all,

How to set from the code the language used on the page?

I'd like to override the language setting passed in the URL.

EPiServer version 4.62.


One more question: is it possible to remove language info from URL and handle it based on the setting made by user on the page? (e.g. language selector in the drop down and store this in session)?


Thanks for help 

Dec 02, 2008 8:55

You should have a look at the Globalization technote, it outlines how you can control language both from code and configuration.


Dec 02, 2008 9:20
j j


I read this article and still do not have answer to my question:

How to force EPiServer to user domain mapping.

I set up web.config with mappings and still get the EPiServer.Core.LanguageContext.Current.CurrentLanguageBranchSource  set to Default.


Does anyone know how to change it to DomainMapping? 

Dec 02, 2008 11:42
* 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.