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

Re: [Libguestfs] [PATCH] internationalisation: Replace autopoint infrastructure with libintl-perl

On Wed, Sep 02, 2009 at 01:19:07PM +0100, Matthew Booth wrote:
> I noticed that virt-v2v, which is written exclusively in perl, failed to
> generate virt-v2v.pot. After much head scratching I also noticed that
> libguestfs.pot didn't include any messages from perl sources. Some reading of
> libintl-perl shows that a somewhat more complicated xgettext command line is
> required, as it doesn't understand Locale::TextDomain syntax by default. After a
> little more head scratching, I decided to replace the autopoint generated
> infrastructure with the reference infrastructure from libintl-perl because:
> 1. It works
> 2. It's a whole lot more transparent
> libguestfs still needs some attention in this area. This change may not be
> appropriate for libguestfs because it is not exclusively written in perl.

This is a regression.  The Perl messages used to be added to the POT
file, so something has broken, likely the special configuration in
Makevars.  Look at this random old libguestfs.pot file and see that it
contains Perl translations:



Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)

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