What does not
What was not tested
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Current||Ubuntu 9.04 "Jaunty" i386 (+ variants like Kubuntu)||Mar 22 2009||1.0.1||Yes||Yes||Gold||Pretamrin|
|Show||Arch Linux||Oct 12 2008||1.1.5||Yes||Yes||Gold||Pretamrin|
|Show||Ubuntu 8.04 "Hardy" i386 (+ variants like Kubuntu)||Apr 22 2008||0.9.59.||Yes||Yes||Gold||Jon Shek|
|Show||Ubuntu 5.10 "Breezy" (+ variants like Kubuntu)||Nov 26 2005||0.9.1.||Yes||Yes||Silver||an anonymous user|
Japanese applications in general have certain Japanese words that will not display properly out of the box with Wine. In order to be able to view the Japanese characters that don't work, you must have Wine call out the Japanese locales on your computer. Go to a terminal and type in "LC_ALL=ja_JP wine" and then the path to your program. That is usually all it takes to make the Japanese characters work properly.
with this method, the program may not still display the words
correctly. That means that your computer probably does not have the
proper locales enabled, so the result will be the same. Here are
instructions on how to fix that.
In Ubuntu / Ubuntu-based Distribution:
Go to a terminal and type in "sudo nano (or your preferred text editor) /var/lib/locales/supported.d/ja". It should be a new file since there isn't a file called "ja" yet. Type in the following entries:
Please make sure to press the Enter key after typing this in to start a new line. Thanks to Jordan M. for pointing this out.
Save the file, and type in this command:
sudo dpkg-reconfigure locales
In Arch Linux:
Go to your perferred terminal and login as root:
su - (enter your password when it tells you to)
Use your text editor to edit the following file:
nano (or your preferred text editor) /etc/locale.gen
Look for these two entries and uncomment them:
Save the text file, exit the editor, and then type in locale-gen in the terminal.
Try using the "LC_ALL=ja_JP wine" method. It should work this time. If it still doesn't work, you may not have the fonts that Wine needs to correctly display the Japanese characters.
Please note that this HOWTO is designed for Ubuntu, Ubuntu-based distributions, and Arch Linux. Other distribution may have slightly different methods.
NOTE - For new versions of Wine, all that you need to do to get the other Japanese characters to work is to store the Japanese fonts in your ~/.wine/drive_c/windows/Fonts directory. Use the "LC_ALL=ja_JP wine" command to run Japanese games or applications.
This HOWTO is still here for those who still can't get the characters to display properly.
If you've followed the first part of the HOWTO, you are already set to use Japanese programs that display the words properly. However, there are some applications that still have problems displaying them properly. These usually occur in a right-click menu, or when certain messages pop-up in a window. The reason for this is because some fonts need to be replaced with vaild japanese fonts in order for situations like this to work.
Here is how to fix this problem:
First, open up a text editor and save it as "ja_JP.reg". We will be creating a registry that Wine can use to determine which fonts to use when Japanese words do not work.
Next, copy and paste the following to the file:REGEDIT4
As you can see from the entry, MS Gothic, MS UI Gothic, and MS Mincho are used. Make sure that these fonts are placed in your ~/.wine/drive_c/windows/Fonts directory. If you don't have these fonts, you can use different Japanese fonts in place of these and put them in your /windows/fonts directory.
Save the file, and enter this command in the terminal:
This will put all the entries in the Wine registry. Use the "LC_ALL=ja_JP wine" command to run the Japanese program in question. I have a provided a screenshot of Planetarian that has the right-click menu displayed properly. You can view it in the screenshot gallery.