You are not logged in.

#1 2006-03-08 16:10:48

Joffer
Member
Registered: 2006-01-12
Posts: 69

[Solved] Some trouble when running locale-gen..

I'm getting some problems with locals-gen:

[root@lnx ~]# pacman -Q | grep glibc
glibc 2.3.6-1
[root@lnx ~]# locale-gen
Generating locales...
  en_US.ISO-8859-1... done
  en_US.UTF8... done
  nb_NO.ISO-8859-1... done
  nb_NO.UTF8.../usr/share/i18n/locales/nb_NO:31: LC_IDENTIFICATION: unknown character in field `language'
/usr/share/i18n/locales/nb_NO:2155: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/nb_NO:2158: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/nb_NO:2159: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/nb_NO:2165: LC_TIME: unknown character in field `day'

How can I fix this?

Offline

#2 2006-03-08 19:05:34

scottro
Member
From: NYC
Registered: 2002-10-11
Posts: 466
Website

Re: [Solved] Some trouble when running locale-gen..

change the second UTF8 to UTF-8

There's another thread somewhere on the forums.  smile

Also, here

http://www.archlinux.org/news.php#205

You may still, after doing this, get the error failed to set locale falling back to default "C" but Japanese, at least, seems to work properly.

Offline

#3 2006-03-09 11:47:59

Joffer
Member
Registered: 2006-01-12
Posts: 69

Re: [Solved] Some trouble when running locale-gen..

That worked. Is it a bug? I mean, since it is not nessesary for the en_US line:

en_US ISO-8859-1
en_US.UTF8 UTF8
nb_NO ISO-8859-1
nb_NO.UTF8 UTF-8

I did add it to the en_US line after I tested, and that worked too:

en_US ISO-8859-1
en_US.UTF8 UTF-8
nb_NO ISO-8859-1
nb_NO.UTF8 UTF-8

Oh well.. it works now. Thanks.

Offline

#4 2006-03-09 17:48:20

scottro
Member
From: NYC
Registered: 2002-10-11
Posts: 466
Website

Re: [Solved] Some trouble when running locale-gen..

I honestly don't enough about it to say if it's a bug or not, I can only echo what the news page says, that the file may be a bit misleading.  smile

Like you, I just said, "At any rate it works," and our thanks to the developers who quickly solved the problem.  I think it was Tobias who came up with changing UTF8 to UTF-8 for non-English locales.

Offline

Board footer

Powered by FluxBB