You are not logged in.
Pages: 1
Whenever I start an application I get the error:
warning: current locale is invalid; using default "C" locale
Or:
(process:13189): Gdk-WARNING **: locale not supported by C library
(eboard:13189): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Depending on the app.
I believe my locale is set correctly
# ...
LOCALE="en_GB.UTF-8"
# ...
# ...
#en_DK ISO-8859-1
en_GB.UTF-8 UTF-8
#en_GB ISO-8859-1
# ...
$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
C
POSIX
$ echo $LANG
en_GB.UTF-8
Has anybody got any insight?
Thanks.
EDIT:
Fixed, I forgot to run locale-gen
Last edited by Fophillips (2007-06-13 15:25:48)
Offline
I am also getting the error message:
warning: current locale is invalid; using default "C" locale
I checked to see if I was connected to the internet.
I changed my rc.conf and locale.gen file to reflect my language. And immediately ran locale-gen as root.
Could there be any other reason why this error still keeps popping up?
Thanks in advance.
Offline
I am also getting the error message:
warning: current locale is invalid; using default "C" locale
I checked to see if I was connected to the internet.
I changed my rc.conf and locale.gen file to reflect my language. And immediately ran locale-gen as root.Could there be any other reason why this error still keeps popping up?
Thanks in advance.
Does your locale appear when you run locale -a?
Offline
Yes it does...
But I also get these other messages:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
C
POSIX
It lists a bunch of the other LC_ locales that are correctly set to en_US.UTF-8. I cannot give you more specific details as I am not in front of that computer.
Thanks
Offline
Try typing:
source /etc/rc.conf
Offline
Nope. Same error. I appreciate your idea. Have any others?
Offline
You must run
# locale-gen
after setting locale in /etc/locale.gen
Offline
You must run
# locale-gen
after setting locale in /etc/locale.gen
I changed my rc.conf and locale.gen file to reflect my language. And immediately ran locale-gen as root.
Offline
Yes, I did that already. Thank you, Misfit.
Anybody have other ideas?
Offline
Yes, I did that already. Thank you, Misfit.
Anybody have other ideas?
OOPS! Sorry.
Offline
Pages: 1