From david.suarez at yahoo.com Wed Dec 19 22:56:35 2007 Content-Type: multipart/mixed; boundary="===============3916889497216357017==" MIME-Version: 1.0 From: =?utf-8?q?David_Su=C3=A1rez_Pascal_=3Cdavid=2Esuarez_at_yahoo=2Ecom=3E?= To: devel at lists.po4a.org Subject: [Po4a-devel] XML attribute translation Date: Wed, 19 Dec 2007 15:54:46 -0600 Message-ID: <35cb4400712191354o4e8464bfoe4b9bbecc2fa624@mail.gmail.com> --===============3916889497216357017== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, I'm employing po4a to manage translation of DocBook XML files and until now it has served me well. However I added a new feature to the original document requiring employment of XML attributes. The problem is po4a seems to be not capable of managing translation of these. Is that true or am I missing something on the config file? Thanks, David. --===============3916889497216357017==-- From jvprat at gmail.com Thu Dec 20 00:53:15 2007 Content-Type: multipart/mixed; boundary="===============9116486732268661395==" MIME-Version: 1.0 From: Jordi Vilalta To: devel at lists.po4a.org Subject: Re: [Po4a-devel] XML attribute translation Date: Thu, 20 Dec 2007 01:52:55 +0100 Message-ID: In-Reply-To: 35cb4400712191354o4e8464bfoe4b9bbecc2fa624@mail.gmail.com --===============9116486732268661395== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, 2007/12/19, David Su=C3=A1rez Pascal: > Hi, I'm employing po4a to manage translation of DocBook XML files and > until now it has served me well. However I added a new feature to the > original document requiring employment of XML attributes. The problem > is po4a seems to be not capable of managing translation of these. Is > that true or am I missing something on the config file? po4a should be able to translate the attributes, but you have to specify which ones. If those are standard DocBook XML attributes, then just report which ones and those will be added to the docbook module. If they are custom attributes, you have to specify them in the module options. For reference, look at these: * the "attributes" option in the module options in http://po4a.alioth.debian.org/man/man3pm/Locale::Po4a::Xml.3pm.php * "Specifying options for the modules" in http://po4a.alioth.debian.org/man/man1/po4a.1.php I hope it helps. Regards, Jordi Vilalta --===============9116486732268661395==-- From kaloian at doganov.org Fri Dec 28 20:11:36 2007 Content-Type: multipart/mixed; boundary="===============1970408529712597129==" MIME-Version: 1.0 From: Kaloian Doganov To: devel at lists.po4a.org Subject: [Po4a-devel] Turning off wrapping for a specific XHTML tag Date: Fri, 28 Dec 2007 21:11:48 +0200 Message-ID: <87d4sqljm3.fsf@doganov.org> --===============1970408529712597129== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Using po4a to process XHTML documents, I have to turn of wrapping for a specific XHTML tag ( Becomes: which is not a valid ECMAScript code, so the interpreter ignores and the document is broken. Also, a