Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing the Locale in WINE

Tags:

linux

locale

wine

I'm using wine emulator on linux (SliTaz 4.0) and i want to change the wine locale so that the dialogs and messages are displayed in Japanese.

I found this tool http://code.google.com/p/winelocale/ which seems to do the job but I couldn't find a download link anywhere and could not contact the author, so does anybody know how to do that please?

I am not actually certain if this tool (WINELocale) will actually work, so I am open to any suggestions to change the locale of WINE to Japanese.

Thanks

like image 707
Zaid Amir Avatar asked May 07 '12 07:05

Zaid Amir


3 Answers

I had to edit /etc/locale.gen and un-comment these two lines:

ja_JP.EUC-JP EUC-JP
ja_JP.UTF-8 UTF-8

After that, I ran locale-gen (as root), and when it finished generating locales simply setting LANG=ja_JP.utf8 worked. The key was generating locale information first, it seems.

Also, if you haven't got any, you'll need to install a japanese font on your system.

My distribution is Debian Sid, if anyone wonders, but I believe this is also what you need to do in Arch and Ubuntu and most other distros.

like image 115
Wyatt Ward Avatar answered Nov 13 '22 04:11

Wyatt Ward


in Ubuntu 13.04 i had to use

LANG="ja_JP.UTF8" wine YourBinary.exe
like image 28
Michal Selmi Seliga Avatar answered Nov 13 '22 05:11

Michal Selmi Seliga


LC_ALL="ja_JP"

another example to do it ;)

like image 29
K1773R Avatar answered Nov 13 '22 03:11

K1773R