LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to add new locale to my system. (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-add-new-locale-to-my-system-4175436902/)

poplinux 11-13-2012 03:52 AM

How to add new locale to my system.
 
Dear Sir.

I'm want to use korean language(to typing) on my system.

But everytime fail to input korean language on my bash shell.

So, I'm check locale info for my system.

Code:

admin@router:~> ./locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
admin@router:~> ./locale  -a
C
POSIX

I guess, If i use the korean language, My system must include the locale "ko_KR.utf8".

Code:

poplinux@poplinux: opt$ (3.33) locale -a
C
C.UTF-8
POSIX
..
..
..
..
ko_KR-utf8

Is it correct?

My question.
How to add new locale(ko_KR-utf8) to my system?


Thank you.


PS. I'm not use ubuntu. I'm working on embedded system.

dragonix 11-13-2012 04:48 AM

Can you run this command?
So we (and you) can see what locales are available.

Code:

cat /etc/locale.gen
This is what I got when I do that (snippet)

Code:

# This file lists locales that you wish to have built. You can find a list
# of valid supported locales at /usr/share/i18n/SUPPORTED, and you can add
# user defined locales to /usr/local/share/i18n/SUPPORTED. If you change
# this file, you need to rerun locale-gen.


# aa_DJ ISO-8859-1
# aa_DJ.UTF-8 UTF-8
# aa_ER UTF-8
# aa_ER@saaho UTF-8
# aa_ET UTF-8
# af_ZA ISO-8859-1
# af_ZA.UTF-8 UTF-8
# am_ET UTF-8
# an_ES ISO-8859-15
# an_ES.UTF-8 UTF-8
# ar_AE ISO-8859-6


druuna 11-13-2012 04:54 AM

@poplinux:

Have a look here: https://help.ubuntu.com/community/Locale

poplinux 11-13-2012 11:44 PM

Dear Sir.

Thank you. your advise.

But I'm not use a ubuntu. I'm working on embedded system. So, I can't use "apt-get language-pack-ko" or "locale-gen".

Have a another way?

Thank you.

poplinux 03-05-2013 01:50 AM

Thank you.

This issue was closed.

druuna 03-05-2013 02:04 AM

Quote:

Originally Posted by poplinux (Post 4904886)
Thank you.

This issue was closed.

Can you tell us how you solved this?

The information might be handy for those that run into this same issue.


All times are GMT -5. The time now is 01:58 PM.