RE: Related: xml2po (was Re: HTML2POT and PO2HTML tools)



One of our developers is doing the same work. He use xmllint and php. But 
now we can not provide a practical utility. You can only provide a 
mechanism to process XHTML, so it's features are too limited.

>From: Danilo Segan <danilo@gnome.org>
>To: "liu jack" <jackliu9999@msn.com>
>CC: gnome-i18n@gnome.org
>Subject: Related: xml2po (was Re: HTML2POT and PO2HTML tools)
>Date: Fri, 05 Mar 2004 19:41:25 +0100
>
>Hi Liu,
>
>"liu jack" <jackliu9999@msn.com> writes:
>
> > Many documents are writen in HTML format. So it's very hard to
> > translate those documents. Because we have no antitheses between
> > english and other language in one file. Furthermore, we can not
> > inherit any translation from the old file easily. Now i18n-zh_CN team
> > has invented a tool named "getpo" to accomplish the task. It's under
> > the term of GPL v2. Download it from here:
>
>It's nice to see work going on on this front.  If you've got
>well-formed XML (i.e. XHTML), you might want to take a look into my
>xml2po (http://kvota.net/hacks/xml2po/).  It requires Python and
>libxml2 (along with Python bindings, installed by default with
>libxml2), and I think it's the best tool around to translate XML
>documents -- otoh, I wrote it so you'd guess I think that :)
>
>It can work with any XML files, though the main purpose is to make it
>work best with DocBook (or derivative) documents, so we could
>translate documentation.  It's already completely useable, and I've
>got only to add things which will ease user operation (check the TODO
>file).
>
>When I add a couple more features, I'd probably announce it here (when
>I get to first stable release), and see how we can integrate it with
>Gnome documentation framework.  Testers are already welcome -- I think
>it's way better that you keep your translations of documentation in PO
>files already, because that's more easily reused.
>
>Cheers,
>Danilo

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]