On Fri, Dec 05, 2008 at 10:06:52PM -0200, agustinhenze(a)gmail.com wrote:
Hi, we are starting translation in spanish the documentation of
PostgreSQL. When execute this
usuario@machine: po4a-gettextize -M utf8 -f sgml -m array.sgml -p
nsgmls:<OSFD>0:3:0:E: no document type declaration; will parse without
this error, and not continue.
The documentation is here . Thanks in advance
 git clone git://git.postgresql.org/git/postgresql.git
It should not be necessary to translate array.sgml separately. Translating
the root file (postgres.sgml) should be sufficient.
Unfortunately, there is a bug in po4a which makes that all entities are
not included by po4a.
Also, po4a cannot process non master SGML document (without a DOCTYPE and
I just fixed this bug in the cvs version. You can use this version by
copying Sgml.pm in:
and prefixing the po4a commands by
I also included more tags in CVS, which might help you.
(otherwise, you need the following options:
-o translate="see substeps example seealso biblioentry biblioset \
chapterinfo orgdiv appendixinfo collab collabname \
confgroup conftitle confdates pagenums" \
-o ignore="acronym lineannotation city country isbn volumenum pubsnumber" \