You are not logged in.

#1 2008-12-25 21:04:26

InfernalH
Member
From: Lithuania/Klaipeda-Vilnius
Registered: 2005-02-08
Posts: 101
Website

[solved] locale-gen don't work

Hi,

I've just got new Arch install but it seems there's some slight problems with locales. I enable few of them in /etc/locale.gen. To be exact:

...
#en_SG.UTF-8 UTF-8  
#en_SG ISO-8859-1  
en_US.UTF-8 UTF-8  
en_US ISO-8859-1  
#en_ZA.UTF-8 UTF-8  
#en_ZA ISO-8859-1  
#en_ZW.UTF-8 UTF-8  
...
#li_NL UTF-8  
#lo_LA UTF-8  
lt_LT.UTF-8 UTF-8  
lt_LT ISO-8859-13  
#lv_LV.UTF-8 UTF-8  
#lv_LV ISO-8859-13 
...

But when I run

sudo locale-gen

I get only

Generating locales...
  [edit].Setting system wide locale...Try `localedef --help' or `localedef --usage' for more information.

After that locale -a gives me only C and POSIX.

Maybe I'm missing something?

Last edited by InfernalH (2008-12-27 09:56:12)

Offline

#2 2008-12-26 09:18:29

InfernalH
Member
From: Lithuania/Klaipeda-Vilnius
Registered: 2005-02-08
Posts: 101
Website

Re: [solved] locale-gen don't work

*Any* help would be appreciated :-)

Offline

#3 2008-12-26 10:20:29

nowahn
Member
From: elsewhere
Registered: 2008-12-05
Posts: 75

Re: [solved] locale-gen don't work

strange problem.

localedef seems to be a tool to build some locales

maybe something has gone wrong during the installation of locales.
try to reinstall glibc :

pacman -S glibc

and try again (you'll probably have to edit your /etc/locale.gen again)


take time to daydream, inspiration comes ...

Offline

#4 2008-12-26 10:25:31

InfernalH
Member
From: Lithuania/Klaipeda-Vilnius
Registered: 2005-02-08
Posts: 101
Website

Re: [solved] locale-gen don't work

Tried this yesterday and to be 100% sure just did reinstall of glibc again.

But this didn't help - problem remains...

Offline

#5 2008-12-27 08:57:13

InfernalH
Member
From: Lithuania/Klaipeda-Vilnius
Registered: 2005-02-08
Posts: 101
Website

Re: [solved] locale-gen don't work

Any other suggestions? Without locales setup I can't even checkout some unicode-named svn stuff sad

Offline

#6 2008-12-27 09:00:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: [solved] locale-gen don't work

Try starting from the default /etc/locale.gen file and enable one at a time to see if it is a particular locale causing this.

Offline

#7 2008-12-27 09:15:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: [solved] locale-gen don't work

Also, what is the output of "locale"?

Offline

#8 2008-12-27 09:55:20

InfernalH
Member
From: Lithuania/Klaipeda-Vilnius
Registered: 2005-02-08
Posts: 101
Website

Re: [solved] locale-gen don't work

As to start from really fresh /etc/locale.gen I've removed it manually and reinstalled glibc. After that I enabled needed locales one-by-one and all of them worked. It seems that I had somehow messed /etc/locale.gen file and reinstall didn't cleared it up.

Thank you Allan!

Offline

Board footer

Powered by FluxBB