LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Debian adding locale Lang ? (https://www.linuxquestions.org/questions/linux-newbie-8/debian-adding-locale-lang-605082/)

jchambers 12-06-2007 09:18 PM

Debian adding locale Lang ?
 
Hello all

I have searched through goolge and on this site trying to figure this out with no success...

My goal is to set locale to en_US.UTF-8
Here is what I have going.

Linux my-box 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007 x86_64 GNU/Linux
Debian 4.01 etch with some sid


Code:

# locale -a
C
POSIX


I set LC_ALL=C in /etc/environment it was en_US.UTF-8 and I continually got errors.
Code:

# locale
LANG=C
LANGUAGE=en_US:en_GB
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C



I have no directory /usr/share/i18n
Code:

# localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
character map file `UTF-8' not found: No such file or directory
cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory

Not sure where to go from here?

kaz2100 12-06-2007 11:04 PM

Hya
Code:

dpkg-reconfigure locales
may be helpful
cheers

Happy Penguins!

jchambers 12-06-2007 11:27 PM

Thank you for the reply.

I gave that a try as well. No luck.

I think I need to start over, I have feeling I killed installing the sid libc6. Either way the server does not seem happy.

:)

kaz2100 12-07-2007 05:39 AM

Hya,

Umm, so I guess that you could not select en_US.UTF-8 with dpkg-reconfigure locales. Try to reinstall locale package before you touch libc or something. Your situation should not be difficult.

Happy Penguins!

milomak 07-22-2009 01:41 PM

Quote:

Originally Posted by jchambers (Post 2982763)
Code:

# localedef -v -c -i en_US -f UTF-8 en_US.UTF-8

This did the trick for me.

Do you have the below installed?
Code:

root ~ # dpkg -l *i18n* | grep ii
ii  debconf-i18n                        1.5.27                      full internationalization support for debconf



All times are GMT -5. The time now is 12:36 AM.