Closed (outdated)
Project:
Media Directories
Version:
2.0.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2021 at 09:37 UTC
Updated:
2 Jul 2026 at 17:05 UTC
Jump to comment: Most recent
Comments
Comment #2
ytsurkHey rang501, long time not heard ;)
I can understand this request, but do you really want to have a different behavior than core's media library widgets?
It's quite common in Drupal, then when you edit, you see the label in your UI language, instead of the one the currently being edited content is in ...
This seems to me more like a custom feature for a special site ;)
We could document this, as you "only" have to change the view's rendering language, which is done in 3 clicks ..
Comment #3
rang501 commentedIf the core itself is using interface language, then I'm not sure it's correct - I think the media entities are content and the content translation rules should apply them.
So - if I happen to add russian translation and I need to select some media for it, I would expect seeing media items in russian in media library. Currently, if the UI language is english, the library shows items in english which is a bit confusing. If the media is selected for example in CKEditor, it will show with different label - which most likely will create some confusion.
This issue can be left open - maybe someone else still needed, or if the core should change something.
Comment #4
ytsurkOur CKEditor integration should behave like the form widget .. and it does for me, on a fresh umami install.
/es/node/19/translations/add/en/es shows me interface and medias (field widget and our CKEditor integration) in spanish
/en/node/19/translations/add/en/es shows me interface and medias (field widget and our CKEditor integration) in english
What do you mean by media is selected in CKEditor? Can you tell me how to reproduce?
Comment #5
ytsurkHave you enabled translation for the vocabulary too? #2859202: Referenced entity rendered in wrong language when parent entity does not have translation enabled
Comment #6
rang501 commented