diff --git a/i18n_sync/i18n_sync.module b/i18n_sync/i18n_sync.module index 5b2f93a..95fe8c0 100644 --- a/i18n_sync/i18n_sync.module +++ b/i18n_sync/i18n_sync.module @@ -297,7 +297,7 @@ function i18n_sync_field_translation_sync($entity_type, $bundle_name, $entity, $ $field = field_info_field($field_name); $instance = field_info_instance($entity_type, $field_name, $bundle_name); $source_lang = field_language($entity_type, $source_entity, $field_name); - $translation_lang = field_language($entity_type, $entity, $field_name); + $translation_lang = field_is_translatable($entity_type, $field) ? $entity->language : LANGUAGE_NONE; if (isset($source_entity->{$field_name}[$source_lang])) { $items = $source_entity->{$field_name}[$source_lang]; // Determine the function to synchronize this field. If none, just copy over.