Version: (using KDE KDE 3.1.1a) Installed from: Compiled From Sources Compiler: gcc (GCC) 3.2.1 OS: Linux When using xml2pot tool (from kdesdk package, if compiled from sources), the "xreflabel" attribute from "sect1" tag is not added in the .pot file for translation. So, when later I use split2po and then po2xml to convert .po files to XML files, this attribute remains untranslated. for example: <sect1 id="ch01-introduction" xreflabel="Chapter 1 - Introduction"> "Chapter 1 - Introduction" cannot be translated because it is not on .po nor .pot file. For reference, I'm using the above tools with DocBook XML V4.1.2.
Subject: Re: "xreflabel" attribute is ignored by xml2pot/split2po/po2xml On Tuesday 30 December 2003 14:19, Lauri Watts wrote: > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > > http://bugs.kde.org/show_bug.cgi?id=61596 > lauri@kde.org changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > AssignedTo|kde-doc-english@kde.org |coolo@kde.org Hmm, how many of such possibly translatable attributes are there? Greetings, Stephan
From http://docbook.org/tdg/en/html/docbook.html, I found three potential translatable attributes: http://docbook.org/tdg/en/html/ref-elements.html#common.attributes : xreflabel http://docbook.org/tdg/en/html/graphic.html : srccredit http://docbook.org/tdg/en/html/glossdef.html : subject Note that the srccredit attribute occurs not only in <graphic> tags, but also in many other media-related tags.
Thanks, I look into this somewhere later
I know with Kubuntu documentation I do not use the xreflabel just because of this. Phil or any EBN dev, do you think we can get this added to the EBN's list of checks performed against the documentation so we can go through and remove them?
Since Stefan no longer maintains this, can someone else check if the bug is still valid?
"xreflabel" attribute from "sect1" tag is not extracted by xml2pot, the tag xreflabel is missing in kdesdk/poxml/parser.cpp. But the kde documentation has no docbook using this tag currently, so it is a kind of non issue.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.