I found a nice easy solution to run apps needing Japanese locale to display correctly that doesn't need root/sudo (or any kind of changes to the system for that matter), so I wanted to share it. Some notes first:
- this was tested under Kubuntu 17.04, but I don't think this is distro specific
- I had better luck using the w32 arch (so I advise creating a wine environment with "env WINEARCH=win32 winecfg" first)
- use winetricks to install ckjfonts
Code: Select all
export LOCPATH=$HOME/.wine/locale-ja/
mkdir -p $LOCPATH
localedef -f EUC-JP -i ja_JP $LOCPATH/ja_JP.EUC-JP
localedef -c -f SHIFT_JIS -i ja_JP $LOCPATH/ja_JP.SJIS
Code: Select all
env LOCPATH=$HOME/.wine/locale-ja/ LANG=ja_JP.SJIS wine prog.exe
Code: Select all
env LOCPATH=$HOME/.wine/locale-ja/ LANG=ja_JP.EUC-JP wine prog.exe