Hi,
You can also map the languange i episerverframework.config for a specific domain/url. Look at the mappings section and add language="en" for you default adress. This will ensure that you language is mapped to one specific adress you can also add other for instance map the .se domain to swedisdh and the .com to English
You can refer below thread for more info-
We only have one domain that should handle all languages. There is an option on the page for changing it.
I think it's possible:
Hope it helps !
Thank you, Guiliano. I will try to go down that path. There is a lot of "magic" happening within the DefaultContentRoute. Guess I still have to use the MapContentRoute-extension, but add my handling as a parameter.
I've been trying to implement my own routing resolver (as suggested by Guiliano), but I believe that to make things work I need to use the MapContentRoute-extension. This extensions accepts a MapContentRouteParameters-param and this is where I should add my custom routing. The problem is that I'm having a hard time finding the class that actually routes the language. Any ideas?
Hi.
I'm currently involved in a project where that requires the url for all languages to stay the same, e.g. the language segmen (for instance /en/) cannot be a part of the url. I've changed the order of language selection so that the epslanguage-cookie is prioritized before anything else. But still the url is updated to reflect the current language.
Is there any way to avoid this?
Regards, Bjørn Terje Svennes