November Happy Hour will be moved to Thursday December 5th.

EPiServer multilingual detect language

Vote:
 

I am adding a second language to a website. We would prefer if we have the pages in english and in swedish that the languages still has the same url site.com, no language prefex. And that the user will get the content based on his browser language preference. Does anyone now if it is possible to do like this? Later we are going to implement EPiServer find so it is important that the solution for the languages will work properly with find. If anyone have a better solution on the problem that is also very welome.

#199088
Nov 15, 2018 6:56
Vote:
 

you mean language selection is controlled by browser settings? should visitors be able to switch languages "on-fly" (while visiting one language go to another language version of the page)?

#199195
Nov 20, 2018 5:29
Vote:
 

Yes, language should be controlled by browser settings. Yes, there will also be a language picker on the site to allow the user to select another language aswell

#199196
Nov 20, 2018 6:40
Vote:
 

and for example if I do have a page in English ("en") - "page1" and I do have the same page but translated to Swedish ("sv") - "siden1", then following urls should work OOTB?

https://server/page1 - English page

https://server/siden1 - Swedish version

#199198
Nov 20, 2018 9:48
Vote:
 

Preferebly, but is that does not work or is not EPiServer standard, I am fine with just 

server/page1

server/en/page1

#199205
Nov 20, 2018 11:26
Vote:
 

well, then this is out of the box. nothing to do here. you need to set preferred langauge for the domain mapping in admin section for the site. think that browser based detection was enabled already by default.

#199206
Nov 20, 2018 11:28
* 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.