• Resolved mumbomedia

    (@mumbomedia)


    Hi,

    the German default translation (de_DE, informal) currently breaks HTML rendering due to improperly escaped quotation marks inside a data-tooltip attribute. The same issue might also be present in the formal variant (de_DE_formal) – I haven’t checked that variant, but the details below should make it easy to verify and adjust if needed.

    From duplicator-de_DE.po:

    #: template/parts/filters/package_components.php:28
    msgid “Backup components allow you to include/exclude differents part of your WordPress installation in the Backup.</br></br><b>Database</b>: Include the database in the Backup.</br><b>Plugins</b>: Include the plugins in the Backup. With the ‘active only’ option enabled, only active plugins will be included in the Backup.</br><b>Themes</b>: Include the themes in the Backup. With the ‘active only’ option enabled, only active themes will be included in the Backup.</br><b>Media</b>: Include the ‘uploads’ folder.</br><b>Other</b>: Include non-WordPress files and folders in the root directory.</br>”

    German translation:

    msgstr “Mit den Backup-Komponenten kannst du verschiedene Teile deiner WordPress-Installation in das Backup einbeziehen oder ausschließen.</br></br><b>Datenbank</b>: Nimm die Datenbank in das Backup auf.</br><b>Plugins</b>: Nimm die Plugins in das Backup auf. Wenn die Option “nur aktive” aktiviert ist, werden nur aktive Plugins in das Backup aufgenommen.</br><b>Themes</b>: Nimm die Themes in das Backup auf. Wenn die Option “nur aktiv” aktiviert ist, werden nur aktive Themes in das Backup aufgenommen.</br><b>Medien</b>: Füge den Ordner „uploads“ hinzu..</br><b>Sonstiges</b>: Schließt Dateien und Ordner im Stammverzeichnis ein, die nicht zu WordPress gehören.</br>”

    Problem: The double quotes ("nur aktiv") are inserted unescaped into the data-tooltip attribute. This causes the attribute to break: the browser interprets the quote as the end of the attribute value. In Firefox this results in invalid HTML and layout issues, as the rest of the content is parsed as plain markup.

    Suggested fix:

    Either:

    • replace " with &quot; in the translation, or
    • escape the attribute value correctly in code (e.g., using esc_attr()).

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mumbomedia

    (@mumbomedia)

    Update, Problem only occurs with German default translation (de_DE, informal).
    With formal variant (de_DE_formal) everything looks as it should.

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hello @mumbomedia ,

    Thanks for pointing out to this issue. I will reproduce this issue, and report it to the development team.

    I will let you know if I report the issue to the development team.

    Thanks!

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hello @mumbomedia ,

    Unfortunately, I failed to reproduce the issue on my test site.

    Can you please provide me with the steps to reproduce the issue?

    I’m looking forward to hearing back from you.

    Thanks!

    Thread Starter mumbomedia

    (@mumbomedia)

    Create a new backup.
    Open the Backup-Tab (2nd one) if not open.
    Then you should see it.

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @mumbomedia ,

    Thanks for helping us reproduce this issue.

    I’m able to reproduce it, and I reported it to the development team. Rest assured that we will resolve it as soon as possible.

    Thanks again.

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @mumbomedia ,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘German translation breaks HTML in data-tooltip due to unescaped quotes’ is closed to new replies.