Improve workflow for translating Media entities with the Media Library

Created on 1 July 2021, over 3 years ago
Updated 12 December 2023, 10 months ago

Problem/Motivation

On a site with Content Translation enabled, Media entities will typically be translated. This is because alt and title texts for images need to be translated, and also because the media file itself may need to be different across languages, such as images that include text or videos that contain speech.

In such a set-up, the reference fields on content that point to media are not set to be translated: all the language versions of one node refer to the same media entity, which itself has translations. So when looking at the German version of a node, you see the German version of the image; look at the French version of the node and you see the French version of the same image.

The workflow for translating media entities when using the Media Library to attach media to content appears to be this:

1. Edit or create a node
2. Open the media library to create media
3. In the media library pop-up, add a new media entity. There's no possibility of translating it here.
4. Save the media entity and save the node
5. Add a translation to the node
6. The media field isn't shown in the node translation edit form, because the media field isn't itself translatable. So you don't have anything that lets you translated the media here
7. The only thing AFAICT is to now go to Admin > Content > Media, look in the list for the media entity that you created, and edit it.

Could the UX for this task be improved?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated about 7 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

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