From: Jouke V. <jo...@pv...> - 2002-10-28 15:58:30
|
To be more precise: the ones that work: 'en', 'fr' and 'it' the ones that don't work: 'nl', 'de', 'es', 'pt_br', 'jp' These languages are the ones that I have .po and .mo files for Jouke Jouke Visser wrote: > > > > > >>But the wxPerl documentation says that wxCSConv is not > implemented...how > >>should I use it then? > >> > > Encode.pm; it has the same functionality, and has a more perl-ish > >interface. > > > OK, very clear. That leaves me with only one question. What are the > parameters of the Wx::Locale->new() function? In the wxLocale.pm demo it > takes three parameters, a string representing the user-readable > language, and two times the two-letter language abbreviation ('en', 'en' > for example). > > When I try this for example for 'ja' (the standard abbreviation for > Japanese), I get the error 'locale 'ja' can not be set', which is an > error from wxWindows. I call Wx::Locale with: > > Wx::Locale->new(gettext_noop('Japanese'), 'ja', 'ja'); > > And I get the same for > > Wx::Locale->new(gettext_noop('Dutch'), 'nl', 'nl'); > > Any idea about that? > > PS: the new binary seems to work, although my Win2K system itself here > doesn't allow other charactersets and I can't install others here at > work, but it looks different than it did with the other binary. > -- -------------------------------------------------------------------- | Jouke Visser | http://jouke.pvoice.org (personal) | | | http://www.pvoice.org (pVoice & pStory)| | Perl GUI Geek | http://wxperl.pvoice.org (wxPerl) | -------------------------------------------------------------------- |