Package: po4a Severity: wishlist As mentionned by helix below, that would be great that po4a supports using Docbook xml comments as po/pot comments.
On Wed, Dec 08, 2010 at 02:14:48PM +0100, helix84 wrote: > On Wed, Dec 8, 2010 at 13:20, Osamu Aoki <[email protected]> wrote: > > You are right. It now generates only: > > > > #. type: Attribute 'lang' of: <article> > > #. type: Attribute 'lang' of: <article> > > #: entries.dbk:4 > > > > So what is needed is parser to record comments and output routine to > > generate following and reset such record to null. > > > > XML INPUT: > > <!-- foo --> > > <comment>baz</comment> > > <para>bar</para> > > > > PO OUTPUT: > > #. SGML_comment: foo > > #. DocBok_comment: baz > > msgid "bar" > > msgstr "" > > > > That will be nice :-) > > Yes, that's how it should work. The code that outputs the current code > in package po4a is in > lib/Locale/Po4a/Xml.pm > under > sub found_string { > > Unfortunately, I don't speak Perl very much, so adding this feature is > not very simple for me. Wishlist against po4a. -- Simon Paillard -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

