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

Re: Fetch debconf translations from ddtp?



On Wed, Nov 12, 2003 at 04:52:29PM +0100, cobaco wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2003-11-12 16:38, Claus Hindsgaul wrote:
> > > see htp://people.debian.org/~barbier/debian-installer/l10n/ for an
> > > overview of what is outdated in CVS
> >
> > Great! Can I assume that files not listed in
> > ~barbier/debian-installer/l10n/da/ are up to date?
> 
> yep, that list of out of date files is regenerated every couple of hours
> 
> > Is it possible to only update the collective ../da/da.po and submit this
> > somewhere? This would greatly reduce the translator effort.
> 
> don't know, I guess this would require a tool to split the big .po file back 
> out into the individual files. I'm not familiar with any tool that does 
> that, which doesn't necesarely mean none exists.

Such tool exists. What you are calling a big .po is called a compendium
in gettext doc.

It's very simple to use.

msgmerge --compendium compendium.po -o file.po /dev/null file.pot

for example go to the debian-installer top dir and run:

for i in `find . -type d -name \*po`; do 
msgmerge --compendium da.po -o $i/da.po /dev/null $i/templates.pot; 
done

Cheers,
-- 
                                Pierre Machard
<pmachard@debian.org>                                 http://debian.org
GPG: 1024D/23706F87 : B906 A53F 84E0 49B6 6CF7 82C2 B3A0 2D66 2370 6F87

Attachment: pgpfZ_r_WEplo.pgp
Description: PGP signature


Reply to: