U4-2317 - Multilingual website: second Culture/Language setting do reset previus setting.

Created by Flavio Spezi 03 Jun 2013, 18:55:35 Updated by Stephan 30 Jan 2014, 15:21:39

My website is structured like this: ''' Content

  • AcmeWebsite.eu
    • it ... ...
    • en ... ... '''

I set "Culture and Hostmanes" of "it" node: "Language = it-IT" ("Domains" list is empty). Then, I procede to set "Culture and Hostmanes" of "en" node: "Language = en" ("Domains" list is empty).

To verify, I reopen "Culture and Hostnames" of "it" node: "Language" value returns to "inherit". Changing this value to "it-IT", the "en" node returns to "inherit". I can not set the "Language" property on both nodes.


Sebastiaan Janssen 03 Jun 2013, 19:33:20

This is in 6.1.1, correct?

Flavio Spezi 03 Jun 2013, 21:23:31

Yes, I'm using 6.1.1 version.

Stephan 04 Jun 2013, 06:34:49

Upgraded my test platform on latest 6.1.2 and could not reproduce. Will try again on a fresh 6.1.1 install later today. What database are you using, BTW? SQL Server, MySql, anything else?

Stephan 04 Jun 2013, 06:52:00

Just did a fresh install of 6.1.1 + created a basic document type (no properties) + added the "it-IT" language + created two content items. Set language to "en-US" on first item, "it-IT" on second item, and all seems to be OK.

Any extra details? Such as, the database you use, whether it's a fresh 6.1.1 or an upgrade, anything?

Flavio Spezi 04 Jun 2013, 09:09:31

I user SQL Server, maybe 2008. The website was developed in Umbraco 6.0.3/4 (I don't remember). Then I upgraded to 6.1.1 yesterday. The "Home" node (it, en, and so on) has many properties, because that node describes the Home-page. I can send you DB + Website, to test

Stephan 04 Jun 2013, 09:18:37

Sure, email to sgay (at) pilotine.com and I'll (try to) have a look though it's a bit busy at the moment here, preparing for CG13.

Flavio Spezi 04 Jun 2013, 10:41:17

Ok, I sent email. Say to me when you downloaded files, so I will delete these.

Gerrit van Roekel 23 Jul 2013, 07:51:20

--We have the same issue, but the problem is not linked to add a second culture / language. We started with an empty site, with no culture set, and we couldn't not config any culature or language. After every save, the box will load the default empty value.--

--On the page 'AssignDomain2' we have javascript error: 'Cannot read property 'form' of undefined' triggert by the dialog.init();-- --The save button, does a post back and refresh the page. In the code behind there is no method or code which will save the configurated culture and language. Seems it must submit the value with the rest api, but it fails, and there is no fallback yet?--

--For us as work around, we use the old AssignDomain for now.--

--Edit:-- --We had version 6.1.1, but before posting this comment we have upgrade the envoirement to version 6.1.2--

If have fixed this by make some changement in the web.config. Remove 'clientIDMode="AutoID"' property.

Stephen Maij 12 Dec 2013, 12:30:32

In 6.1.6. this issue still occurs. To get it back working again I added ClientIDMode="Static" to the Page declaration in AssignDomain2.aspx

Stephan 12 Dec 2013, 12:33:09

Wtf? Will have a look at it.

Kim Nedergaard 19 Dec 2013, 15:37:43

You can fix by: Go to the database - tabel: dbo.umbracoDomains , choose language, domainRootStructureID (NodeId) and type in the domain. Then Restart the site in the IIS :-)

Worked for me, and now it even works from the backoffice, after the little manoeuvre :-)

Stephan 30 Jan 2014, 14:27:59

Ping! If anybody is still seeing this issue and is available to discuss it, I'm working on it right now.

Stephan 30 Jan 2014, 14:53:14

Confirmed. Can reproduce some strange errors.

Flavio Spezi 30 Jan 2014, 15:13:32

Hi Stephan. Have you solved?

Flavio Spezi 30 Jan 2014, 15:14:08

..have you found a method to reproduce it?

Stephan 30 Jan 2014, 15:21:20

Pushed 3ef51d7 into 6.2.0 and 2ab1cf5 into 7.0.3 that fix the issue. Considering the issue fixed. Funny enough, I ''think'' it had nothing to do with IDs. There was a bug in the DomainsApiController which caused the language to be cleared every other save. Fixed.

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 6.1.1, 7.0.1, 7.0.2

Due in version: 6.2.0, 7.0.3


Story Points: