이 블로그 검색

토요일, 3월 10, 2012

system locale in Gentoo

I just want to be able to use Korean whenever I want.
I saw Korean appeared even in a certain application's title bar which I didn't want to.
I am using 'nabi' for my Korean Input application. In order to use it, my system locale must be 'ko_KR'. But if I set it so, I should see Korean even when I don't want to?

Here is the answer, system locale.

#locale
LANG=ko_KR
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=en_US

Easiest way to set up is to add 'export LANG="ko_KR"' in my .bashrc or .bash_profile

Instead of it, I would put the locale to /etc/env.d/02useretc
and simply,
#env-update

And then, you can use nabi and see English as well or you push shift+space to switch to Korean.

댓글 없음:

댓글 쓰기