Problem/Motivation
If the media item is translated, the Responsive Image Field formatter doesn't load the translation.
Steps to reproduce
- Add a responsive image field on an entity
- Add an image
- Translate the media entity
Proposed resolution
Check for translation and load it for the given langcode in the Field Formatter
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | responsive_image_field_translation.patch | 1.54 KB | alex_branescu |
Issue fork responsive_image_field-3540414
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
Comment #3
alex_branescu commentedComment #6
krystianbrzoza commentedThanks 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