Marvin_Arnold
2009-Nov-26 21:19 UTC
[Wine] How to achieve Japanese localization on Mac OSX?
Hi everybody, hope this isn't to nooby... How do I localize my wine (windows) system to japanese? (i.e. correct Kanji/Kana rendering) I found the WineLocale page, but it's for Ubuntu, and the shell commands are quite different, and I'm not that versed with shells amyway... http://ubuntuforums.org/showthread.php?t=383628 Basically I want to do the same on OSX; maybe there is a page out there explaining everything, but if so, I haven't been able to find it... Sorry for bothering if the answer is too simple (I wish...) Thanks! M:A:
James McKenzie
2009-Nov-26 21:35 UTC
[Wine] How to achieve Japanese localization on Mac OSX?
Marvin_Arnold wrote:> Hi everybody, > > hope this isn't to nooby... > > How do I localize my wine (windows) system to japanese? (i.e. correct Kanji/Kana rendering) I found the WineLocale page, but it's for Ubuntu, and the shell commands are quite different, and I'm not that versed with shells amyway... > > http://ubuntuforums.org/showthread.php?t=383628 > > Basically I want to do the same on OSX; maybe there is a page out there explaining everything, but if so, I haven't been able to find it... > > Sorry for bothering if the answer is too simple (I wish...) > Thanks! > > M:A: > >M:A: Are you attempting to try to run Japanese at the same time you are running MacOSX in a different language? This would be something to discuss with Apple. James McKenzie
Marvin_Arnold
2009-Nov-27 12:09 UTC
[Wine] Re: How to achieve Japanese localization on Mac OSX?
Actually, I want to test a japanese windows program inside wine. Text rendering inside the program is OK (I seem to have the necessary fonts), but during installation i see only ASCII gibberish. Same with the program's menu and system messages. So troubleshooting on the Windows side is impossible. I don't want to change my OSX localization, only the Windows (inside wine) localization. (It's wine in Win98 mode, btw) Maybe there's something fundamental about it I just don't see... Thanks, M:A:
James McKenzie wrote:> I do think this is doable, but the appropriate variables have to be set before running Wine, just like you do in Linux (or any other UNIX for that matter).No, according to this code: http://source.winehq.org/source/dlls/kernel32/locale.c#L2943 It resets "LANG" environment variable with the locale it got from the system. Also see this message from wine-devel: http://www.winehq.org/pipermail/wine-devel/2009-November/080062.html
James McKenzie
2009-Nov-28 01:35 UTC
[Wine] How to achieve Japanese localization on Mac OSX?
vitamin wrote:> James McKenzie wrote: > >> I do think this is doable, but the appropriate variables have to be set before running Wine, just like you do in Linux (or any other UNIX for that matter). >> > > No, according to this code: http://source.winehq.org/source/dlls/kernel32/locale.c#L2943 > > It resets "LANG" environment variable with the locale it got from the system. Also see this message from wine-devel: http://www.winehq.org/pipermail/wine-devel/2009-November/080062.html > >Correct, vitamin. This makes changing the language for a Mac a real bother. I guess it is time to file an RFE to get this updated? James McKenzie
Charles Davis
2009-Nov-28 01:43 UTC
[Wine] How to achieve Japanese localization on Mac OSX?
James McKenzie wrote:> I guess it is time to file an RFE to get this updated?One was already filed. See http://bugs.winehq.org/show_bug.cgi?id=20377 . I tried to fix it with that patch, but it was soundly rejected by Ken.
Marvin_Arnold
2009-Nov-29 13:19 UTC
[Wine] Re: How to achieve Japanese localization on Mac OSX?
Wow! That's a lot of activity I've caused. Hope you are onto something... Perhaps I should clarify what I tried to do: - My MacBookPro is set to German - Take a Program written for Japanese Windows - run the installer with wine: I get all sorts of gibberish - by try and error, install program - run program: in-program text rendering is japanese, program messages (like what I suppose means "Would you really like to quit? Yes/No") are ASCII gibberish When I try to set the language variable preceding "wine program.exe" as described in this thread, I get: Code: Unhandled exception: page fault on read access to 0x0000000c in 32-bit code (0x00414710). (I've read somewhere that some programs won't even install on non-Japanese systems, which can be fixed in XP by localizing it from System Preferences) It seems that the method in the link I posted solves that problem, but it is written for Ubuntu, and I don't know enough about Linux to emulate these things on OSX. File structure is different, as are many shell commands...[/code]
Marvin_Arnold
2009-Dec-01 18:19 UTC
[Wine] Re: How to achieve Japanese localization on Mac OSX?
Charles Davis wrote:> James McKenzie wrote: > > > vitamin wrote: > > > > > James McKenzie wrote: > > > > > > > > > > I do think this is doable, but the appropriate variables have to be set before running Wine, just like you do in Linux (or any other UNIX for that matter). > > > > > > > > > > > No, according to this code: http://source.winehq.org/source/dlls/kernel32/locale.c#L2943 > > > > > > It resets "LANG" environment variable with the locale it got from the system. Also see this message from wine-devel: http://www.winehq.org/pipermail/wine-devel/2009-November/080062.html > > > > > > > > Hmmm. The message seems to imply that using LC_MESSAGES would work. > > However, it did not. I'll read more on the thread in Wine-devel. > > > What did you use? If you tacked on a .utf8, then of course it didn't > work! On Mac OS, you have to put a dash between the "UTF" and the "8": > ja_JP.UTF-8. (Or you can type ja_JP.utf-8.) And if you want Shift-JIS, > then you need to tack on a .SJIS: ja_JP.SJIS. > > Chip > > > > > James McKenzie > > > > >Charles, that did the trick! (LANG=ja_JP.SJIS) My wine now talks Japanese! Thank you very much! B?LhFT?D~YH M:A: