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 :)
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1240428-multilingual-import-support-v2.patch | 511 bytes | stongo |
| #1 | 1240428-multilingual-import-support.patch | 3.29 KB | stongo |
Comments
Comment #1
stongo commentedHere's the patch.
Comment #2
Sborsody commentedstongo,
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.
Comment #3
Sborsody commentedComment #4
EvanDonovan commentedJust 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.
Comment #5
stongo commentedHere is the multilingual import fix patch, done against dev version of module.
Comment #6
kostajh commentedCommitted to 6.x-2.x-dev, thanks!
http://drupalcode.org/project/salesforce.git/commit/4e2d2e7