You are not logged in.
Pages: 1
This is my /etc/locale.conf:
LANG="nb_NO.UTF-8"
L_MESSAGES="en_GB.UTF-8"
This is the output when I write locale
LANG=nb_NO.UTF-8
LC_CTYPE="nb_NO.UTF-8"
LC_NUMERIC="nb_NO.UTF-8"
LC_TIME="nb_NO.UTF-8"
LC_COLLATE="nb_NO.UTF-8"
LC_MONETARY="nb_NO.UTF-8"
LC_MESSAGES="nb_NO.UTF-8"
LC_PAPER="nb_NO.UTF-8"
LC_NAME="nb_NO.UTF-8"
LC_ADDRESS="nb_NO.UTF-8"
LC_TELEPHONE="nb_NO.UTF-8"
LC_MEASUREMENT="nb_NO.UTF-8"
LC_IDENTIFICATION="nb_NO.UTF-8"
LC_ALL=
I don't want norwegian messages... I have locale-gen'd as root. Why isn't L_MESSAGES set to english?
I also tried commenting away nb_NO.UTF-8 in /etc/locale.gen, and setting everything to en_GB.UTF-8 in /etc/locale.conf, but then I get these errors:
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
and everything is set to nb_NO.UTF-8 anyway.... what is happening
Last edited by Ploppz (2014-02-02 21:18:32)
Offline
Have you tried setting
LC_MESSAGES="en_GB.UTF-8"
You have a typo - missed the 'C' in 'LC_MESSAGES'.
Offline
From those errors it appears you didn't generate the English locales. Can you post the output of `locale -a` (or just check whether en_GB.UTF-8 shows up and if not, what's uncommented in /etc/locale.gen)?
And please just include such output in your post (in code tags).
Offline
Read https://bbs.archlinux.org/viewtopic.php … 9#p1375819 , it's a similar issue.
Offline
Done, Raynman
With only en_GB uncommented, and everything set to en_GB, locale -a says
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_COLLATE to default locale: No such file or directory
C
POSIX
en_GB.utf8
With both en_GB and nb_NO uncommented, and /etc/locale.conf set as in the first post, locale -a says
C
en_GB.utf8
nb_NO.utf8
POSIX
localectl says
System Locale: LANG=nb_NO.UTF-8
LC_MESSAGES=en_GB.UTF-8
VC Keymap: n/a
X11 Layout: n/a
though. That looks fine, but the messages still are in norwegian :s
Edit: For example, when trying to run ncmpcpp without mpd running, it says "Couldn't connect to MPD (host = localhost, port = 6600): Oppkobling nektes" Whereas the two last words are norwegian and mean "Connection refused". I guess this goes under LC_MESSAGES.
Last edited by Ploppz (2014-02-02 20:48:04)
Offline
What's the output of 'locale'?
Offline
The same as in the first post.
Offline
Did you reboot after changing the typo in /etc/locale.conf?
Offline
Ah that did it. Thanks everyone!
Offline
Pages: 1