SaaS CMS has officially launched! Learn more now.

CMS 9 multi-culture site

Vote:
 

Hello,

I have one site with two languages - DA and EN, where DA is the default culture. I want all pages to open with the DA culture, unless the path contains /en/, i.e.:

http://mysite.dk -> DA
http://mysite.dk/en -> EN

In the admin section I can only add hostnames and connect them to a specific culture, though. I can see that in previous versions of EPiServer it could have been achived by siteHosts in web.config (if I am not mistaken). Can I achieve the same in EPiServer CMS 9? :-)

#144781
Feb 18, 2016 16:51
Vote:
 

Hello Boyan

If I understand your question correctly you want to map your hostnames to cultures in config? If that's the case then its only possible in admin mode and not in config any more.

Let me know if this answers your question!

David

#144789
Feb 18, 2016 18:32
Vote:
 

Ps it may be worth taking a peek at the official help around this: http://webhelp.episerver.com/16-1/EN/cms-admin/managing-websites.htm

#144790
Feb 18, 2016 18:33
Vote:
 

Hi,

I think that if you want to access Danish domain without language indicator http://mysite.dk (instead of http://mysite.dk/da/) and same time access English domain with language indicator (http://mysite.dk/en), then you need to:

1) Add Danish language in Admin mode

http://i.imgur.com/qIFC2Wo.png?1

2) Set domain together with Danish culture in manage admin/webites. 

http://i.imgur.com/6fGHd92.png?1

#144798
Feb 19, 2016 7:51
Vote:
 

Thank you for the quick replies.

@Grzegorz: Yes, this is what I want to achieve.

Unfortunately, I cannot do the same "trick" for Edit URLs. Basically, mysite.dk is the front URL (for Internet access), while we have something like my-internal-site.domain.dk for internal access where CMS pages can be editted. However, edit sites cannot be bound to a specific culture. I can remove the Type (i.e., leave it empty) and then it works. Is this the way to do it? :-)

#144812
Feb 19, 2016 11:19
Vote:
 

Usually we had separated domains for each language (used by front end servers). So it's different than your scenarion.

But we also used special domain used by backend server for edit mode. The special domain was similar to yours my-internal-site.domain.dk. This domain was also added to websites without language specified.

Domain                           Culture

http://mysite.dk               DA

internal-site.domain.dk  

*

Did you tried to add this domain? And what is not working in this scenario? (check if you are able to switch language in edit mode)

#144830
Feb 19, 2016 14:37
Vote:
 

Thanks Grzegorz. This works well. What I tried and didn't work was to set the type to be Edit for internal-site.domain.dk together with a specific culture (DA in our case). If I don't specify the Type to be Edit (i.e., leave it empty), it works perfectly :-) Just wondered if this is the correct wat to go on.

#144831
Feb 19, 2016 14:41
Vote:
 

You can also choose default language on an editor level under my settings. If you don't want to play around with hosts :)

#144835
Feb 19, 2016 15:03
Vote:
 

It is more about the URLs, so that I can use en alternative (i.e., edit-mode) URL, which is only available internally and where editors can use the entire site.

#144843
Feb 19, 2016 15:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.