https://bugs.kde.org/show_bug.cgi?id=407037
Bug ID: 407037 Summary: meinproc5 is not honoring Korean naming order (reversed surname/firstname) Product: frameworks-kdoctools Version: 5.56.0 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kde-doc-engl...@kde.org Reporter: k...@peremen.name CC: kdelibs-b...@kde.org Target Milestone: --- SUMMARY While I was testing generation of DocBook file and HTML files based on Korean translation for docmessages (not in SVN yet), I found that surname, firstname is not correctly ordered in Korean even if I specified lang="ko" attribute to the <othercredit> tag. Because Korean names in Hangul (FirstnameSurname display) and names in Latin alphabet (Surname Firstname display) can appear on the single document, I think the lang attribute of not only the document but also the individual credit should be honored. Note that order reversing is implemented in DocBook's DSSSL since version 1.59. STEPS TO REPRODUCE 1. Add translator information to ROLES_OF_TRANSLATORS such as: <othercredit lang="ko" role="translator"> <surname>박</surname><firstname>신조</firstname></ordercredit> Note that lang="ko" attribute. 2. Run scripts/update.xml from l10n-kf5 directory, check whether those attributes are preserved. 3. Run meinproc5 --check index.docbook for the generated docbook and check the generated HTML. OBSERVED RESULT Generated HTML document shows: <span class="othercredit"><span class="contrib"></span>: <span class="firstname">신조</span> <span class="surname">박</span><br></span> EXPECTED RESULT This should be: <span class="othercredit"><span class="contrib"></span>: <span class="surname">박</span><span class="firstname">신조</span><br></span> Note that there is no space between surname and firstname, and surname goes first. While the <span class="contrib"> part is empty, but looks like it is mentioned in TODO. SOFTWARE/OS VERSIONS KDE Frameworks Version: 5.56 Qt Version: 5.12.2 -- You are receiving this mail because: You are watching all bug changes.