You are not logged in.

#1 2010-04-03 18:34:24

lnx
Member
Registered: 2009-11-04
Posts: 101

[solved] problems with the locales

In rc.conf the locale variable is set to en_US.UTF-8. When I check my locale settings as a regular user, this is what I get:

[phnx@003 ~]$ locale
LANG=nl_BE.UTF-8
LC_CTYPE="nl_BE.UTF-8"
LC_NUMERIC="nl_BE.UTF-8"
LC_TIME="nl_BE.UTF-8"
LC_COLLATE="nl_BE.UTF-8"
LC_MONETARY="nl_BE.UTF-8"
LC_MESSAGES="nl_BE.UTF-8"
LC_PAPER="nl_BE.UTF-8"
LC_NAME="nl_BE.UTF-8"
LC_ADDRESS="nl_BE.UTF-8"
LC_TELEPHONE="nl_BE.UTF-8"
LC_MEASUREMENT="nl_BE.UTF-8"
LC_IDENTIFICATION="nl_BE.UTF-8"
LC_ALL=
[phnx@003 ~]$

I've tried to change it with export LANG=en_AU.UTF-8 and source ~/.bashrc. But that doesn' change a thing.
.bashrc:

# Check for an interactive session
[ -z "$PS1" ] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

How do I change this?

Last edited by lnx (2010-04-05 09:27:48)

Offline

#2 2010-04-03 19:45:30

lnx
Member
Registered: 2009-11-04
Posts: 101

Re: [solved] problems with the locales

I added 'LANG=en_US.UTF-8' to the .bashrc file manually. For some reason export LANG=en_US.UTF-8 didn't work. And yes, things seem to have changed:

[phnx@003 ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
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=
[phnx@003 ~]$

But everything is still in dutch!?

Offline

#3 2010-04-03 19:53:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] problems with the locales

http://wiki.archlinux.org/index.php/Locale

Last edited by karol (2010-04-03 19:54:25)

Offline

#4 2010-04-03 20:08:04

lnx
Member
Registered: 2009-11-04
Posts: 101

Re: [solved] problems with the locales

I've turned to that wiki, when I wanted to change my locale. But it didn't help. Unless I missed something.

Offline

#5 2010-04-03 20:52:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] problems with the locales

With the setup you posted and after the correct "sudo locale-gen" it should run English, not Dutch so I have no idea why it does not.

Offline

#6 2010-04-05 09:27:23

lnx
Member
Registered: 2009-11-04
Posts: 101

Re: [solved] problems with the locales

Problem solved. I finally realised that I set the language variable in my .dmrc file to nl_BE.UTF-8. The problem was solved after uncommenting it.

Offline

Board footer

Powered by FluxBB