I am using the latest Entity Translation module in order to provide a couple of translatable fields for some of my content types. I have a content type which has a translatable field which is called “title_field”.
I am using the Migrate module (version 2.0) in order to fill in the Drupal scheme with data from an old database. Normally, in a single language, the line would be:
$this->addFieldMapping('title_field','name')
Now the problem is that I have two translations of this field in my old database, which I want to create through the migration API.
$this->addFieldMapping('title_field','name_el')->arguments(array('language','el')); $this->addFieldMapping('title_field','name_en')->arguments(array('language','en'));
Unfortunately this last one does not work. Any idea how I can go further with this?