tableau-mkt-archived / entity_xliff

Drupal module that provides an API for entity serialization in the XLIFF format.
https://drupal.org/project/entity_xliff
2 stars 0 forks source link

Source language mutates after content translation initialization #92

Closed iamEAP closed 8 years ago

iamEAP commented 8 years ago

When a node using the content translation paradigm performs translation initialization (meaning, the source node is moved from "language neutral" with no translation set, to the site default language + a translation set), the EntityTranslatableInterface::getSourceLanguage() method begins to return the language of the last imported piece of content, rather than the actual source language.

This is only made apparent when multiple XLIFFs for different languages are being imported for a single entity within a single request thread.