[answering to the list this time, oops...]
From: Mattia Barbon <mat...@li...>
To: Schaffter Eriam <er...@er...>
Subject: Re: [wxperl-users] Wx::Locale and Init
Date: Thu, 2 Nov 2006 20:25:37 +0100
X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; x86_64-pc-linux-gnu)
On Thu, 02 Nov 2006 15:07:17 -0000
"Schaffter Eriam" <er...@er...> wrote:
Hi,
> I have a Wx::Wizard which works fine, except when I want to have it in another
> language then english. The next / previous buttons are always in english.
>
> I asked on the wxuser list and it seems it has to be dealt with Wx::Locale,
> which is in wxPerl, but it seems that it lacks the Init function that would
> allow me to specify a language code
> (http://www.wxwindows.org/manuals/2.6.3/wx_languagecodes.html) so I can have the
> correct languages in the wizard. Is that exact or am I missing something ?
Pass to ->new the same parameters you would pass to ->Init.
For example:
my $locale = Wx::Locale->new( wxLANGUAGE_DEFAULT );
HTH
Mattia
|