Problem/Motivation

If the media item is translated, the Responsive Image Field formatter doesn't load the translation.

Steps to reproduce

  1. Add a responsive image field on an entity
  2. Add an image
  3. Translate the media entity

Proposed resolution

Check for translation and load it for the given langcode in the Field Formatter

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:

  • 1.x Comparechanges, plain diff MR !6

Comments

alex_branescu created an issue. See original summary.

alex_branescu’s picture

StatusFileSize
new1.54 KB

krystianbrzoza made their first commit to this issue’s fork.

krystianbrzoza’s picture

Thanks for contributions. Media entity translation support released in version 1.1.1

However there is a problem with translating media items in Drupal 11.x: Issue #3466277