guix-devel
[Top][All Lists]
Advanced

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

Re: Coordinating package meta-data translation


From: Benno Schulenberg
Subject: Re: Coordinating package meta-data translation
Date: Sat, 14 Jun 2014 17:49:12 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

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

[Prev in Thread] Current Thread [Next in Thread]