yurchor at ukr.net
Tue Apr 13 16:02:13 UTC 2010
написане Tue, 13 Apr 2010 16:32:18 +0300, Stephen Gallagher
<sgallagh at redhat.com>:
> I want to derail this thread slightly. How would one go about
> configuring a project to enable translations of manpages by Transifex?
> My project (SSSD) already uses Transifex for translating user messages,
> but I'd like for us to be able to make the manpages available for
> translation as well.
> We write our manpages in Docbook XML, so it can be easily converted into
> Troff, HTML, etc.
> My question is: how can we extract strings from this XML so that we can
> add them to the .pot file for Transifex?
You can use xml2po (gnome-doc-utils) or xml2pot (kdesdk-po2xml). DocBook
has nothing with man groff format.
To automate export process you can use some script
More information about the trans