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
You should have a look at the Globalization technote, it outlines how you can control language both from code and configuration.
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?