Hello Ludo,

On 2014-06-13 17:38, Ludovic Courtès wrote:
> I’ve just done that:
> 
>   
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=ee76417972b3a749a28a627c2858c09311d9c0c5

Okay.  The setup is a bit unusual, but... if it works.
(What gettext probably expects is that po is a subdir of the guix
subdir, and that packages is another subdir of that guix subdir,
which (packages) then has its own po subdir.)

> How should I proceed to:
> 
>   1. register the new text domain at the TP?

Slowly!  :)  First let's see what the POT files look like now.
Could you build a preprepre-release tarball and post a URL?
After also having done point 2, of course.

>   2. extract already-translated synopses/descriptions and move them to
>      po/packages/*.po?

First build the POT files, and then change into the po/guix subdir
and run:

for file in *.po;
  do  msgmerge $file ../packages/packages.pot  >../packages/$file;
done

That's all.  You could filter out all the obsolete messages, to have
nice clean files, but you can leave that to the translators too.

Benno


Reply via email to