Hello,

I installed two multilingual sites and I want to import nodes from a site to another. The import goes well. Fields of nodes are imported (title+body+publish status). But the language and the translation information is not good. I get "Undefined language (english)" for English node and "Undefined language (French)" for French node.
Also, if I open a node imported, and I click on translate button, translations do not exist, you must create them.

How do I retrieve this information for translations when importing nodes?

Thank you very much for your help.

Comments

kumkum29’s picture

I import the nodes with the correct language. I created an extra field for my node, a field which resume the prefix of the language. (en for english, fr for french).
In the mapping of "feeds" I bind the fields to the language target. The nodes are imported into the good language.

Last problem: the associations of the translations. English translations are not related to French nodes.

Do you have any idea? Thank you.

(sorry for my bad english ;) )

lolandese’s picture

See http://drupal.org/node/1819720 and in Views (that you probaly use to create your data file) a solution is close: http://drupal.org/node/1222204

lolandese’s picture

Issue summary: View changes

rev2

twistor’s picture

Component: Feeds Import » Code
Issue summary: View changes
Status: Active » Closed (duplicate)