You are not logged in.
Pages: 1
Basically everything I open, from mplayer, to gtk apps, to gcc, to makepkg all say the locale was invalid. I set locale=en_Us.UTF-8 in rc.conf. Am I missing something?
Last edited by duke11235 (2010-11-09 05:17:47)
Offline
As allways, wiki is your best friend.
http://wiki.archlinux.org/index.php/Locale
Unless you've misstyped, that should be "en_US.UTF-8".
Other than that, you can allways check locale names by reading /etc/locale.gen .
Have you actually created needed locale?
Offline
paste the output of 'locale' and 'locale -a'
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale; No such file or directory
LANG=en_US.UTF-8
LC_CTYPE=ja_JP.utf8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
locale -a
locale: Cannot set LC_CTYPE to default locale; No such file or directory
C
en_US
en_US.iso88591
en_US.utf8
POSIX
So where do I change these invalid locales?
Offline
grep $HOME and /etc for "ja_JP.utf8"
Or if you want to use it, build the ja_JP.utf8 locale (edit /etc/locale.gen and run locale-gen)
Last edited by Mr.Elendig (2010-10-10 17:29:41)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
grep ja_JP.utf8 /etc and grep ja_JP.utf8 $HOME returned no results.Is ja_JP.utf8 japanese? If so I don't want to use that. I have still been unable to find where these can be edited. Also, where do I tell it to use the standard C locale?
Last edited by duke11235 (2010-10-10 18:00:53)
Offline
You first have to uncomment the locales you need in /etc/locale.gen and generate them with /usr/sbin/locale-gen. Then you can use them. You can see a list of available locales with locale -a
Last edited by olive (2010-10-10 18:45:05)
Offline
I don't want to use that locale. I want to permanently set it to en_US.UTF-8
Offline
I don't want to use that locale. I want to permanently set it to en_US.UTF-8
Have you read my post?
Type locale -a , to see what locale you have. If your locale doesn't appears uncomment your locale in /etc/locale.gen and run (as root) locale-gen. Then edit /etc/rc.conf and edit the line:
LOCALE="en_US.utf8"
Reboot and type locale to see if it is correctly enabled. If you have still problem repost explaining what happens when you try to do what I have described.
P.S. Your locale is "en_US.utf8" (and not en_US.UTF-8[)
Olive
Offline
Yes, I saw your post, The problem was my autostart.sh, which was exporting that locale to japanese(or whatever). Removing that line solved the problem
Offline
Pages: 1