lost and found ( for me ? )

Showing posts with label language. Show all posts
Showing posts with label language. Show all posts

Ubuntu 12.04 LTS : change system language via CLI

small tips
Here’s how to change system language via CLI.

Edit /etc/default/locale

# cat /etc/default/locale
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"


Edit /var/lib/locales/supported.d/local
# cat /var/lib/locales/supported.d/local
en_US.UTF-8 UTF-8


Issue locale-gen command to reflect on it.
# locale-gen
Generating locales...
 en_US.UTF-8... up-to-date
Generation complete.


Finally then reboot the OS
# init 6

BackTrack Linux 5 : change GNOME language from English to Japanese

install language pack for Japanese.
root@bt:~# apt-get install language-pack-ja language-pack-gnome-ja


change LANG setting.
root@bt:~# localedef -i ja_JP -c -f UTF-8 ja_JP.UTF-8
root@bt:~# update-locale LANG=ja_JP.UTF-8

root@bt:~# echo $LANG
en_US.UTF-8


after rebooting , LANG setting n’ GUI changed in Japanese.
root@bt:~# reboot

root@bt:~# echo $LANG
ja_JP.UTF-8