From: Jouke V. <jo...@pv...> - 2002-10-25 17:20:14
|
Hi, I got a Japanese translationfile in UTF-8, which looks OK in poEdit and UltraEdit, and tried to use it using Wx::Locale, but no-go: it looks like line-noise. And another thing that is quite flakey: I have a preferences window in my application and when I try to change the language there more than three times in one session, the application crashes without any error-message. Since this wasn't there when I used Locale::Maketext::Lexicon (I didn't change any logic in the program, I just replaced the gettext from that module to that from Wx::Locale and of course the initialization), this must have something to do with Wx::Locale. Now, the machine I'm testing on is Windows XP, I'm using wxPerl 0.12 (the PPM binary from the site) and ActivePerl build 633. The .po/.mo files are OK, since poEdit handles everything correctly. And oh yeah, with some locale-sets (for example 'nl') I get a popup window (from Wx) that it can't set that locale (although 'nl' is my default on this machine) and it continues with the correct translations...isn't that weird? I've tried to set it to 'nl', 'nl-nl', 'nl_nl', but nothing works. As far as I know it should just be 'nl' (which worked with Locale::Maketext::Lexicon). Any ideas on these problems? -- ---------------------------------------------------------------------- | Jouke Visser | http://jouke.pvoice.org (personal) | | | http://www.pvoice.org (pVoice & pStory) | | Perl GUI Geek | http://wxperl.pvoice.org (wxPerl) | ---------------------------------------------------------------------- |