From jvprat at wanadoo.es Thu Mar 17 12:47:25 2005 Content-Type: multipart/mixed; boundary="===============6887729629796397246==" MIME-Version: 1.0 From: Jordi Vilalta To: devel at lists.po4a.org Subject: Re: [Po4a-devel]Docbook XML translation - howto skip tags Date: Thu, 17 Mar 2005 20:48:30 +0100 Message-ID: In-Reply-To: 200503171132.36270.jm@poure.com --===============6887729629796397246== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hello, Welcome to this mailing list. On Thu, 17 Mar 2005, Jean-Michel POURE wrote: > First of all, thanks for this great work on po4a. Many thanks :) [...] > I am trying to use po4a to translate the docbook XML source files. > > The command line is : > po4a-gettextize -M utf-8 -f docbook \ > -m introduction.docbook -p introduction.pot > > It works well, except for dbhtml XML extensions. > > For example, the following text is not parsed : > > *************************************************************************= *********** > > > Introduction >
Les origines de l'=C3=A9tude > *************************************************************************= *********** > > But the following text is parsed like a charm : > > *************************************************************************= *********** > > Introduction >
Les origines de l'=C3=A9tude > *************************************************************************= *********** > > I tried to send options to the parser using -o, but did not succeed. Any > solution to skip ? The processing instructions ( ) aren't currently defined in the = XML parser, so it simply breaks when it finds them. I think I'll try to = simply ignore them, because I don't know of any case of translateable = strings inside of them. I'll commit a patch soon. Regards, Jordi Vilalta --===============6887729629796397246==--