From: Mattia B. <mb...@ds...> - 2002-10-28 18:33:35
|
On Fri, 25 Oct 2002 19:04:17 +0200 Jouke Visser <jo...@pv...> wrote: > 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. Of course! You are not using an Unicode-capable wxPerl/wxWindows. > 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. OK, but I can't reproduce it in the demo. Test case? > 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). I can reproduce this, but I need to investigate it. Regards Mattia |