<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Online Help: Enable include the css file for individual language"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142531">142531</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Online Help: Enable include the css file for individual language
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Documentation
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>suokunlong@126.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>olivier.hallot@libreoffice.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>