I have a multilanguage setup in my sitecore instance and we are using the displayname for default URLs that works great. But we also want that the media Item (images) to show up translated in the HTML.
That was working in 9.0.2 with this Implementation => Render image with display name by default
But after upgrading my current system to Sitecore 9.3 this is not working anymore. I was hoping that the new option
var options = MediaUrlBuilderOptions.Empty;
options.UseDisplayName = true;
var url = MediaManager.GetMediaUrl(imageField.MediaItem, options)
is working as the name says
UseDisplayName but this seems not to work. Are there some other options to get this working in sitecore 9.3?