When you are using i18n_taxonomy for multilingual sites, and you have a view with "render entity" as row plugin, or as header/footer area content, the taxonomy term is not displayed translated, but in the original language.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

akalam created an issue. See original summary.

akalam’s picture

Status: Active » Needs review
FileSize
2.1 KB
Chris Matthews’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

The 3 year old patch in #2 to entity_views_handler_area_entity.inc and entity_views_plugin_row_entity_view.inc does not apply to the latest entity 7.x-1.x-dev and (if still relevant) needs a reroll.

Checking patch views/handlers/entity_views_handler_area_entity.inc...
error: while searching for:
  public function render_entity($entity_type, $entity_id, $view_mode) {
    if (!empty($entity_type) && !empty($entity_id) && !empty($view_mode)) {
      $entity = entity_load_single($entity_type, $entity_id);
      if (!empty($this->options['bypass_access']) || entity_access('view', $entity_type, $entity)) {
        $render = entity_view($entity_type, array($entity), $view_mode);
        $render_entity = reset($render);

error: patch failed: views/handlers/entity_views_handler_area_entity.inc:107
error: views/handlers/entity_views_handler_area_entity.inc: patch does not apply

Checking patch views/plugins/entity_views_plugin_row_entity_view.inc...
shubham.prakash’s picture

Status: Needs work » Needs review
FileSize
1.65 KB

Issue is still relevant, added a patch.

rpayanm’s picture

Issue tags: -Needs reroll