It is not possible to select the language field within the taxonomy term processor.
The field is available in the vocabulary, but nut not visible in the mapping settings.

The field is needed for the import of multi language taxonomy terms.

Or is there maybe an other way to import multi language taxonomy terms?

Comments

mvdve’s picture

Version: 7.x-2.0-alpha7 » 7.x-2.x-dev
Assigned: Unassigned » mvdve
Status: Active » Fixed

ok. my bad, simple fix:

Add the following code (sorry not sure how to create patch files yet) to the FeedsTermProcessor.inc plugin, in the getMappingTargets function:

// Include language field if Locale module is enabled.
   if (module_exists('locale')) {
      $targets['language'] = array(
        'name' => t('Language'),
        'description' => t('The two-character language code of the node.'),
      );
   }

It introduces a new problem by updating the existing taxonomy term, but that's an other issue.
Fixed for now.

Status: Fixed » Closed (fixed)

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