Versioned media items cause missing labels from user interface


Description

Using a versioned media item and switching to another language version of an item might cause the disappearance of labels from the user interface (UI). The issue appears in both the Experience Editor and the Content Editor.

Solution

To resolve the issue, consider one of the following options:

Alternatively, for Sitecore XP 9.3.0 - 10.0.3, you can change the languageEmbedding parameter of the urlBuilder to never by creating a configuration patch file in the \App_Config\Include\zzz folder, as shown in the following:

<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
 <sitecore role:require="Standalone or ContentManagement">
  <links>
   <urlBuilder>
    <languageEmbedding>never</languageEmbedding>
   </urlBuilder>
  </links>
 </sitecore>
</configuration>

Note: The described approach might not work for solutions that use multiple content languages, for example, sites with cross-language links.