Problem/Motivation

When a custom field is marked translatable, translated entity references display in their proper language however when the custom field is NOT marked translatable, the entity references display in the original language.

Proposed resolution

This is a simple fix where the language code needs to be passed down from viewElements() to viewValue(). The current language is simply relying on the field context. Patch on the way.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

apmsooner created an issue. See original summary.

giuse69’s picture

works for me, thanks

  • apmsooner committed 39e18ae6 on 3.0.x
    Issue #3492350 by apmsooner, giuse69: Translated entity reference not...
apmsooner’s picture

Status: Active » Fixed
apmsooner’s picture

Status: Fixed » Closed (fixed)