[frameworks-kdoctools] [Bug 407037] New: meinproc5 is not honoring Korean naming order (reversed surname/firstname)

Shinjo Park bugzilla_noreply at kde.org
Mon Apr 29 00:55:02 BST 2019


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-english at kde.org
          Reporter: kde at peremen.name
                CC: kdelibs-bugs at 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 the assignee for the bug.


More information about the kde-doc-english mailing list