You are not logged in.

#1 2009-04-10 08:00:55

rggjan
Member
Registered: 2007-01-06
Posts: 69

change language and start of week (LC_... ?) [SOLVED]

Hello there

I would like to have an English Desktop, but dates, the start of week, currency etc. as here in switzerland.

So I did as described here: http://wiki.archlinux.org/index.php/Locale

And added

export LC_ALL=de_CH
export LANG=en_GB.utf8

to my .bashrc, and then did a

jan ~ $  sudo locale-gen
Generating locales...
  de_CH.UTF-8... done
  de_CH.ISO-8859-1... done
  en_GB.UTF-8... done
  en_GB.ISO-8859-1... done
  en_US.UTF-8... done
  en_US.ISO-8859-1... done
Generation complete.

But now, the week still starts on sunday instead monday, but the interface language is German instead of English!
So just the wrong way around it seems...

Does anyone know, what to do here? Thanks a lot!

"locale" gives me:

jan ~ $  locale
LANG=en_GB.utf8
LC_CTYPE="de_CH"
LC_NUMERIC="de_CH"
LC_TIME="de_CH"
LC_COLLATE="de_CH"
LC_MONETARY="de_CH"
LC_MESSAGES="de_CH"
LC_PAPER="de_CH"
LC_NAME="de_CH"
LC_ADDRESS="de_CH"
LC_TELEPHONE="de_CH"
LC_MEASUREMENT="de_CH"
LC_IDENTIFICATION="de_CH"
LC_ALL=de_CH

Last edited by rggjan (2009-04-18 11:52:40)

Offline

#2 2009-04-10 12:35:36

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: change language and start of week (LC_... ?) [SOLVED]

rggjan,

perhaps this thread will help you:

http://tinyurl.com/c2wkvo

Anyhow, I think you shouldn't set LC_ALL, but only the individual LCs that you need.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2009-04-18 11:52:21

rggjan
Member
Registered: 2007-01-06
Posts: 69

Re: change language and start of week (LC_... ?) [SOLVED]

Thanks a lot, this, and some "try and error", helped! big_smile

I had to set LC_MESSAGES=en_GB.utf8 to get english menus again, and edit /usr/share/i18n/locales/de_CH according to the wiki to start the week on monday...

Offline

Board footer

Powered by FluxBB