openSUSE / suse-xsl

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

l10n issues #458

Closed fsundermeyer closed 2 years ago

fsundermeyer commented 2 years ago

The following issues were found during the localisation of SES 7.1. I assume they are valid for both, 2021 and 2022 stylesheets.


Edit toms 2022-07-05: mark them as tasks and combine zh-cn/zh-tw

tomschr commented 2 years ago

@fsundermeyer some answers:

ZH-CN PDF bookmark format requires syntax edit Glossary sorting in pinyin request. Automatic glossary sorting is switched off in the stylesheets.

As far as I know, that was done for a reason. Sorting in zh-cn is... challenging. I don't know how this is done, yet how it works. I know that's probably not really implemented in the stylesheets. I doubt that it can. If I remember correctly, sorting is done phonetically which can't be derived from word itself. Same for zh-tw.

ZH-TW PDF bookmark format requires syntax edit Date format on page ii needs to be modified.

How should it look like? The default date format for zh_tw is this (taken from file /usr/share/xml/docbook/stylesheet/nwalsh5/current/common/zh_tw.xml):

<l:context name="datetime">
    <l:template name="format" text="m/d/Y"/>
</l:context>

As far as I can see, this is the same format in our customization.

FR-FR There is a stray capital letter 'T' in the construct of the figure label. Needs to be removed.

That is gone, I don't see it anymore. It's fixed in #459

tomschr commented 2 years ago

@jfaltenbacher Can you answer the about the date format? Or do you know about sorting in Chinese? Thanks!

jfaltenbacher commented 2 years ago

Chinese date format is yyyy-mm-dd (as in ISO 8601)

Because of the glossary sorting. I remember having the same problems at my former job and we always had issues with the glossary, but could never solve them because of missing language skills. I don't remember if we just left the glossary as it came out or if we removed it from the translated books in the end. From what I remember the sorting was alphabetically but not really working well for the asian languages