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

Matthew Booth mbooth at redhat.com
Wed Sep 2 12:19:07 UTC 2009


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.




More information about the Libguestfs mailing list