This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Translation/i18n of DocBook/XML?
- From: Jordi Vilalta <jvprat at wanadoo dot es>
- To: Michael Wiedmann <mw at miwie dot in-berlin dot de>
- Cc: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 19 Apr 2004 00:23:12 +0200 (CEST)
- Subject: Re: [docbook-apps] Translation/i18n of DocBook/XML?
- References: <20040418131611.GA2453@miwie.in-berlin.de>
Hi
On Sun, 18 Apr 2004, Michael Wiedmann wrote:
> [ Posting in behalf of Wolfgang Borgert <debacle@debian.org> who has
> problems posting to the list ]
>
> Hi,
>
> what is the ultimative way to translate DocBook/XML
> documents into other languages? I know that there were some
> discussions two years ago, but I don't know the outcome. Does
> anybody know the following tools?
I'm also interested in this topic.
>
> - doc-i18n-tool(?)
>
> - intltool
>
> - poxml/xml2pot
>
I haven't tried those, it could be nice if somebody else could report
their state.
There's another application called po4a (po for all) developed to do it
with a modular design. It has some modules that deal with pod (perl
documentation), debiandoc, sgml docbook and some others.
The docbook module isn't very usable now, but somebody could enhance it,
it could become a very useful tool.
Its homepage is at http://alioth.debian.org/projects/po4a/ and you can
download it from the CVS.
> What I like to have is something gettextish:
>
> DocBook/XML(en) -> .pot
>
> and
> DocBook/XML(en) + {de,fr,es}.po -> DocBook/XML(de/fr/es)
>
> Or similar... I would like to avoid the use of autoconf, KDE,
> or any huge toolchain, if that's possible.
It's written in perl, so you don't need having a graphical interface
installed.
po4a includes the following utils:
po4a-gettextize:
DocBook(en) -> .pot
DocBook(en) + DocBook(de/fr/es) -> {de,fr,es}.po
po4a-translate:
DocBook(en) + {de,fr,es}.po -> DocBook(de/fr/es)
po4a-updatepo:
DocBook(en) + old {de,fr,es}.po -> updated {de,fr,es}.po
As you can see, it eases the initial translation and the future updates of
the document. But as I said, the DocBook module is far from complete. It
doesn't deal well with entities, and with included files. Someone interested
in helping? :)
Regards,
Jordi Vilalta
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.