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

Paul Menzel paulepanter at users.sourceforge.net
Sun Jan 3 05:40:17 CST 2010


Am Sonntag, den 03.01.2010, 05:20 -0600 schrieb desu:
> Marvin_Arnold wrote:
> > 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.
> > 
> > Charles, that did the trick! (LANG=ja_JP.SJIS) My wine now talks Japanese!

Strange, did not they write in the thread not to use LANG but
LC_MESSAGES?

> Sorry to be a total newbie, but where do you find this setting? user.reg?

Did you read the link above? These are environment variables. You can
set them in a terminal. `env` will show you which are set and you can
set them using `export`, I think, or setting them in front of the
command.

	$ LC_MESSAGES="ja_JP.SJIS" wine start.exe

I cannot test this. But there is plenty of information on the WWW.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://www.winehq.org/pipermail/wine-users/attachments/20100103/11c73f67/attachment.pgp>


More information about the wine-users mailing list