Sunday, February 19, 2012

Configure Japanese Locale in Debian

I'm using CrunchBang (#!) and I find Japanese fonts missing. To configure Japanese locale in Debian do the following.
1. Install the following:
sudo apt-get install ttf-kochi-gothic ttf-kochi-mincho ttf-sazanami-mincho xfonts-intl-japanese
2. Now you need to reconfigure the locale.
sudo dpkg-reconfigure locales
In the 'locales to be generated' dialog box, choose "ja_JP.UTF-8 UTF-8". If you use English, choose "en_GB.UTF-8 UTF-8" or "en_US.UTF-8 UTF-8", which ever is appropriate and click Ok. Next choose you default locale.
3. Reboot (or logout session, which ever works).