Hi, Please find attached the po4a example config file I promised.
On Fri, Aug 22, 2008 at 09:11:25AM +0200, [EMAIL PROTECTED] wrote: > But I think po4a would profit from analysing it on a real project. > So you see that #494607: "Move option to an inline tag" needs a > fix and you will also see minor issues such as useless Fixed in CVS > msgid "</footnote>" > msgstr "</footnote>" This will probably remain. I intend to support "placeholders", which will allow translators to place the footnotes where they need to be placed in their language. All the closing tags "alone" should then disappear. This should ideally be fixed anyway, but only appear once in a PO file, so I've always been lazy about it. The interface for these "placeholders" should be: # type: Content of <placeholder#1> msgid "Text of the footnote." msgstr "" msgid "bla bla <footnote><placeholder#1></footnote> bla bla" msgstr "" The code for this already exists, but is not documented (and tested). If you intend to use it, I can improve it. (-o "placeholder=footnote" should do something, maybe not what is intended;) > Another mystery I found in my PO file was > > msgid "Summary" > msgstr "" > "#-#-#-#-# choice #-#-#-#-#\n" > "Zusammenfassung\n" > "#-#-#-#-# choice #-#-#-#-#\n" > "Summary" > > That's not critical and can easily be fixed (maybe it was even my error) > so I think it doesn't require a bug report. But you as maintainer need a > real project to play with :-)) The "#-#-#-#-#" are the standard marks to tag conflict in PO files (e.g. if you msgcat 2 PO files with the same msgid, but different msgstr). In that case, they probably come from the gettextization, when po4a-gettextize find the same English string translated differently in the existing translation. If possible, I should replace "choice" by the line reference in the existing translation -- Nekral
[po4a_langs] fr [po4a_paths] po4a/po/svnbook.pot $lang:po4a/po/$lang.po [po4a_alias: docbook] docbook opt:"-M utf-8 -o 'inline=<option>'" [type: docbook] en/book/appa-quickstart.xml $lang:po4a/$lang/book/appa-quickstart.xml [type: docbook] en/book/appb-svn-for-cvs-users.xml $lang:po4a/$lang/book/appb-svn-for-cvs-users.xml [type: docbook] en/book/appc-webdav.xml $lang:po4a/$lang/book/appc-webdav.xml [type: docbook] en/book/book.xml $lang:po4a/$lang/book/book.xml \ opt:"-o doctype=book" [type: docbook] en/book/ch00-preface.xml $lang:po4a/$lang/book/ch00-preface.xml [type: docbook] en/book/ch01-fundamental-concepts.xml $lang:po4a/$lang/book/ch01-fundamental-concepts.xml [type: docbook] en/book/ch02-basic-usage.xml $lang:po4a/$lang/book/ch02-basic-usage.xml [type: docbook] en/book/ch03-advanced-topics.xml $lang:po4a/$lang/book/ch03-advanced-topics.xml [type: docbook] en/book/ch04-branching-and-merging.xml $lang:po4a/$lang/book/ch04-branching-and-merging.xml [type: docbook] en/book/ch05-repository-admin.xml $lang:po4a/$lang/book/ch05-repository-admin.xml [type: docbook] en/book/ch06-server-configuration.xml $lang:po4a/$lang/book/ch06-server-configuration.xml [type: docbook] en/book/ch07-customizing-svn.xml $lang:po4a/$lang/book/ch07-customizing-svn.xml [type: docbook] en/book/ch08-embedding-svn.xml $lang:po4a/$lang/book/ch08-embedding-svn.xml [type: docbook] en/book/ch09-reference.xml $lang:po4a/$lang/book/ch09-reference.xml [type: docbook] en/book/copyright.xml $lang:po4a/$lang/book/copyright.xml [type: docbook] en/book/foreword.xml $lang:po4a/$lang/book/foreword.xml [type: docbook] en/book/index.xml $lang:po4a/$lang/book/index.xml