openSUSE / suse-xsl

DocBook XSL Stylesheets for SUSE branding
Other
11 stars 10 forks source link

Content vanish for localized documents #455

Closed tomschr closed 2 years ago

tomschr commented 2 years ago

Problem Description

when transforming localized content into HTML, the content itself has vanished. It's still there, but it isn't displayed.

After further inspection, I've identified a problem in untranslated strings coming from the stylesheet.

This is the English version:

<button id="_unfold-side-toc-page">On this page</button>

This is a translated version (for example, Spanish):

<button id="_unfold-side-toc-page" />

Expected Behaviour

Content is visible also for localized content.

Some strings that are used in the stylesheet are not translated (and as such, are missing). These need to be translated and integrated into the localization files (suse2022-ns/common/l10n/*.xml).