Developer forum

Forum » CMS - Standard features » Set child language as the defauilt

Set child language as the defauilt

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

Is there a way to set a language layer as the default for a domain? I have this setup:

English               domain.com
  > Danish          domain.com

I want people to visit the web site at domain.com to see the Danih language by default, and not English. Possible without coding?

Imar


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

As long as you only have one website with languages for the domain, you can do like this:

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Oh, that's nice. So basically remove the domains from the master site which causes the child site to load initially?

 

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Yes - first one found for the domain is loaded first.

Also i set it up so urls are like this:

domain.com/ => danish
domain.com/en-us => english

But you don't have to.

 

You must be logged in to post in the forum