https://bugs.documentfoundation.org/show_bug.cgi?id=142531

            Bug ID: 142531
           Summary: Online Help: Enable include the css file for
                    individual language
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

The submodule "helpcontent2" contains specialized css files for each language.
For instance, for Simplified Chinese language the css file is located at:
helpcontent2/source/auxiliary/zh-CN/default.css.

However, this language-specific css file is not used at all in the generated
html files at build time, thus the generated help content only uses the css
file in helpcontent2/help3xsl/default.css, as defined by the makefile
helpcontent2/Package_html_static.mk. This makes the display of other languages
(e.g. Simplified Chinese) ugly in the browser.

To include language-specific css files, the language independent default css
shouls still be reserved, thus in index.html it should be:

<link type="text/css" href="default.css" rel="Stylesheet">
<link type="text/css" href="<lang_tag>/default.css" rel="Stylesheet">

whereas the css styles defined in the 2nd one (<lang_tag>/default.css) can
override those in the 1st one, which makes it possible for different languages
to modify the css to make the pages of their language appear better.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to