Wrong pop-up message in German when deleting any item


Description

When the Sitecore Client is run using the client translations in the German language, a pop-up message with the incorrect item name appears when deleting any item:

Sind Sie sicher, dass "Analytik-Filter" gelöscht werden soll?

In addition, no warning message is shown if the item to be deleted has subitems.

Solution

To resolve the issue, edit the \App_Data\localization\texts.de-DE.xml file:

  1. Replace the wrong value in the <de-DE> node for the following phrase key:
    <phrase key="Are you sure you want to delete &quot;{0}&quot;?{2}{1}">
      <de-DE>Sind Sie sicher, dass "Analytik-Filter" gelöscht werden soll?</de-DE>
    </phrase>
    with the following value:
    <phrase key="Are you sure you want to delete &quot;{0}&quot;?{2}{1}">
      <de-DE>Sind Sie sicher, dass {0} gelöscht werden soll?{2}{1}</de-DE>
    </phrase>
  2. Save the changes in the \App_Data\localization\texts.de-DE.xml file.
  3. Restart the CM instance.