[Libreoffice-bugs] [Bug 142531] New: Online Help: Enable include the css file for individual language
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri May 28 03:57:23 UTC 2021
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: libreoffice-bugs at lists.freedesktop.org
Reporter: suokunlong at 126.com
CC: olivier.hallot at libreoffice.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210528/c5167dee/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list