Re: How do convert release notes sources from .dbk to .po format?
Hi Marcelo,
On Mon, Jan 31, 2011 at 07:36:15AM -0800, Marcelo Santana wrote:
> Please, does anyone can say me what is the correct way to convert release
> notes sources from .dbk to .po format?
>
> I'm trying to update Brazilian Portuguese translation of Squeeze release
> notes and I'm using po4a 0.34-2 (as recommended on Makefile) as bellow but
> I'm getting a wrong formatting.
>
> po4a-gettextize -f docbook -m en/FILE.dbk -p pt_BR/FILE.po
po4a-gettextize -f docbook -m en/about.dbk -l pt_BR/about.dbk -p pt_BR/about.po
However, it will not succeed without efforts (as the translation is not up to
date and po4a is not able to magically guess which paragraphs exactly are
missing), either to add dummy paragraphs (see man 7 po4a), or by performing the
gettextization on the couple of {en,pt_BR}/about.dbk if they have been ever in
sync. (using the en/about.dbk
from Lenny for example ?)
If you are experienced a bit with po4a, then don't hesitate, otherwise I advise
you to sync the translation using plain docbook for the moment, then switch to
po4a once Squeeze is released (for this week-end !).
If you need some more help about the gettextization, don't hesitate to ask the
list again.
Best regards,
--
Simon Paillard
Reply to: