U4-2496 - Multilingual website: not possible to assign a different node with same hostname but different language

Created by rkgame 10 Jul 2013, 17:07:21 Updated by Sebastiaan Janssen 12 Jul 2013, 08:10:33

Just installed Umbraco 6.1.2 with a fresh database and created a tree like:

Content +EN domain1 domain2 +FR domain2 ...

In the "Culture and Hostnames" option for the node EN -> Domain2 want to assign the node with values Domain= www.domain2.com Language= EN-US

and the other node FR -> Domain2 with values Domain= www.domain2.com Language= FR-BE

when click "Save" on this menu get message: Domain has already been assigned.

This used to work fine in Umbraco 4.7. Is this a bug or has something changed?

Comments

Sebastiaan Janssen 11 Jul 2013, 13:38:33

This makes no sense, how would Umbraco choose where to go when you try to access www.domain2.com? If this worked in 4.7 then it would just pick the first one I think.

In 6.1 the domains and languages are independently set so you don't need to use this weird workaround any more. I've assigned this to Stephane so he can explain which things you should choose to support domain1 being english only and domain2 bi-lingual.


rkgame 11 Jul 2013, 15:09:14

Too me is clear, Umbraco choose the starting tree for the website, depending on the "Domain + Browser Accepted-Language" pair. Don't understand how can have multiple domains with multiple languages without that

Another weird thing of Umbraco 6.1 is that if I go to node Content -> FR

the "Link to document" value shows http://www.domain1.com/fr.aspx

but "fr" is not under "Domain1"!

In case you say this is as it should be, what about the case where I have am in 'page1' where Content -> FR -> page1

the "Link to document" value shows http://www.domain1.com/page1.aspx

but this should not be at least http://www.domain1.com/fr/page1.aspx ?


Stephan 11 Jul 2013, 17:45:25

What you're doing did not work in 4.7 either, and I think it never worked in Umbraco. You assign domain "site.com" to a single node of the tree to tell Umbraco to pick content under that node, when visiting "site.com". So you'd need to organize your sites as:

domain1 en fr domain2 en fr

Umbraco does not know how to just "pick the right starting tree based upon the browser-accepted language"... so you have to setup a page on "site.com/" that will detect the language (based on browser-accepted, IP-address, whatever) and dedirect to either "site.com/en" or "site.com/fr".

Then the link should indeed be site.com/fr/page1 -- but to do this you have two solutions:

Content

  • Site (domain: site.com) -- FR (lang: FR) --- page1

or

Content

  • Site FR (domain: site.com/fr) -- page1

Making sense? Stephan


Stephan 11 Jul 2013, 17:46:04

Also, re-assigning to Sebastiaan and suggesting we close the issue. This is not a bug. Please post on Our to get more explainations.


Priority: Normal

Type: Bug

State: Can't Reproduce

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.1.2

Due in version:

Sprint:

Story Points:

Cycle: