When doing a batch import, nodes are explicitly set to the language 'en' on line 824 of sf_node.module.
I'm not sure if there's any reason for this, but here's a patch to set the language based on the current selected language instead, making the import i18n friendly :)

Comments

stongo’s picture

StatusFileSize
new3.29 KB

Here's the patch.

Sborsody’s picture

stongo,

You'll need to make the patch against a fresh git clone of salesforce. This one has the manual linking patch from #1042296: Link- vs. object-based synch behavior.

Sborsody’s picture

Status: Active » Needs work
EvanDonovan’s picture

Just wanted to note that 7.x won't have this issue since nodes get set to undefined by default if the language isn't set as part of the import values.

stongo’s picture

StatusFileSize
new511 bytes

Here is the multilingual import fix patch, done against dev version of module.

kostajh’s picture

Version: 6.x-2.0-alpha8 » 6.x-2.x-dev
Status: Needs work » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.