Media Thumbnail Formatter doesn't translate the title attribute correctly

Created on 21 October 2019, over 5 years ago
Updated 24 January 2024, 12 months ago

Steps to reproduce:

1. Create a node type with an entity_reference field, letting it refer to image medias. This field is not translatable (is the entity which will be).
2. Configure node type presentation to use "Thumbnail" as the field formater for the entity reference field and select any image style.
2. In the Media type "Image", there is an Image type field, called "image". Ensure translation is enabled on file, alt, and title elements.
3. Create a new media of type Image and translate it to another language. Be sure to enter translations for the alt and title attributes.
4. Create a node of the new type created and refer the media
5. Translate the node.
6. When you see the node in the original language, you should see the image with alt and title in the original language. It's ok.
7. When you see the node in the other language, you see the image with the alt in that language, but the title is not translated/updated

Probably related issues:

πŸ› Bug report
Status

Needs work

Version

9.5

Component
MediaΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡ͺπŸ‡ΈSpain vidorado Pamplona (Navarra)

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024