Page Language

j j
j j
Vote:
 

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 

#26312
Dec 02, 2008 8:55
Vote:
 

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

http://world.episerver.com/en/Documentation/Items/Tech-Notes/EPiServer-CMS-4/EPiServer-CMS-461/Globalization/

 

#26313
Dec 02, 2008 9:20
j j
Vote:
 

Well,

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? 

#26319
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.