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

Re: Fetch debconf translations from ddtp?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2003-11-12 20:13, Pierre Machard wrote:
> On Wed, Nov 12, 2003 at 04:52:29PM +0100, cobaco wrote:
> > 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

<grin> "in order to split you need to merge" (obviously:-)


> 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,

- -- 
Cheers, cobaco
  
1. Encrypted mail preferred (GPG KeyID: 0x86624ABB)
2. Plain-text mail recommended since I move html and double
    format mails to a low priority folder (they're mainly spam)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/s8Sp5ihPJ4ZiSrsRAiFuAJ9huRIv1o7Y/2m/doBUFPSrDbJ74gCbBwZ4
2mFinhR5X56vn9ex8bcpFv4=
=TUki
-----END PGP SIGNATURE-----



Reply to: