generate po files from XRC under Linux

Hi,

I'm beginning writing a piece of software in wxPython and I intend to
use XRC file(s) to store the GUI layout. Since I want to
internationalize the application, I have to generate the appropriate po
files for the strings (labels, etc.) used in the XRC files.

I have wandered around the wxWidgets site and it does mention a wxrc
tool that is supposed to do the job. However, I've downloaded the latest
CVS snapshot and, in contrib/utils/wxrc, there is a single makefile that
makes it clear it is intended for a Windows build whereas I'm un der
Linux (lib names are kernel32.lib, etc.). I've noticed there is another
"contrib" tool named "wxrcedit", so I tried to build it, but it fails
with an error message about @EXTRALIBS_GNOMEPRINT@, which I tried to
solve by using the --enable-printarch --with-gnomeprint configure
options, but it seems these options are ignored by the configure script
(indeed they are not displayed by --help, I only found them by grepping
the configure.in).

So, is there another way to easily extract strings from XRC files and
generate a po file from them ?
(apparently poEdit doesn't know to do it by itself)

Regards

Antoine.

Oops, sorry, I meant to send this to wx-users. gasp.

···

Le lundi 08 novembre 2004 à 17:50 +0100, Antoine Pitrou a écrit :

Hi,

I'm beginning writing a piece of software in wxPython and I intend to
use XRC file(s) to store the GUI layout. Since I want to
internationalize the application, I have to generate the appropriate po
files for the strings (labels, etc.) used in the XRC files.

[...]