I have two languages setup in the hostnames for a site like follows:
Domain: domain.com/en Language: en
Domain: domain.com/es Language: es
When I go to the front end of the site, the nav by default picks the es version and directs people there. Any idea why? I've tried switching the order of the domains but still the same result.
Hi Tim, its actually 1:1 using Vorto so all of the content is in 1 "site", both domains are set on 1 node. I'm just not sure how Umbraco decides which URL to pick first?
Yep, I restarted the app. Just for clarity, is it the first domain that takes precedence or the last one added? Would be fantastic if there was a "primary" checkbox or something.
Oddly, it doesn't matter which one I put first, it seems to be "stuck" on the Spanish one for some reason. Is it possible that its related to which order they were added to the languages are in the settings section? I can't figure out how to make it default to English!
Amir, I just tried right clicking on the home node, going to culture and hostnames and then changing Culture from inherit to en, which I want as my default lang.
As soon as I go to support.domain.nl, all URL's on the page are /en
It defaults to the english variant. No matter if I change the order in the cultures&hostnames on the homepage, or change de default culture to inherit, of NL.
Set Default Language
Hi,
I have two languages setup in the hostnames for a site like follows:
Domain: domain.com/en Language: en
Domain: domain.com/es Language: es
When I go to the front end of the site, the nav by default picks the es version and directs people there. Any idea why? I've tried switching the order of the domains but still the same result.
Thanks!
Amir
Comment author was deleted
is your es site the first in the content tree? try sorting the content tree if you want to en site to appear first.
Hi Tim, its actually 1:1 using Vorto so all of the content is in 1 "site", both domains are set on 1 node. I'm just not sure how Umbraco decides which URL to pick first?
Thanks!
Amir
Comment author was deleted
Hmm not sure then haven't used vorto yet, did you restart the app after changing the order of the cultures?
Yep, I restarted the app. Just for clarity, is it the first domain that takes precedence or the last one added? Would be fantastic if there was a "primary" checkbox or something.
Comment author was deleted
I would say the top one in the list takes precedent but would try both to see what happens.
Oddly, it doesn't matter which one I put first, it seems to be "stuck" on the Spanish one for some reason. Is it possible that its related to which order they were added to the languages are in the settings section? I can't figure out how to make it default to English!
Hi
I am having the exact same problem. Did you ever get a fix for this?
Nope! Its like the 1st language get's "stuck" in last place no matter what.
Amir, I just tried right clicking on the home node, going to culture and hostnames and then changing Culture from inherit to en, which I want as my default lang.
At first glance this seems to have worked.
Hi
I am having the exact same problem. Did you ever get a fix for this?
I could never "properly" get past that issue with the version I was using so we ended up doing a redirect like this.
Hi,
Maybe somebody has a solution to this topic?
Thanks, Alex
2022, still no fix I guess.
I've got the following:
As soon as I go to support.domain.nl, all URL's on the page are /en
It defaults to the english variant. No matter if I change the order in the cultures&hostnames on the homepage, or change de default culture to inherit, of NL.
is working on a reply...