[Wine] How to achieve Japanese localization on Mac OSX?

James McKenzie jjmckenzie51 at earthlink.net
Tue Dec 1 19:16:14 CST 2009


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:

I was trying to use fr_FR.utf-8...

Here is what happened in terminal:

fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETEDITSTYLE: stub
fixme:richedit:IRichEditOle_fnSetHostNames stub 0x4a3330 WordPad Document
fixme:richedit:ME_HandleMessage EM_SETTARGETDEVICE doesn't use non-NULL
target devices
fixme:richedit:IRichEditOle_fnInPlaceDeactivate stub 0x4a3330

And the language remained en_US.utf-8 for the program....

James McKenzie




More information about the wine-users mailing list