I'd like to have a German (Austria) locale (A4 paper size, 24 hour time, yyyy-mm-dd), but an English-language user interface (I don't like poor translations). I figured that the correct way to achieve this is to set the LC_
variables as follows in my .bashrc
(please correct me if I'm wrong):
LC_MESSAGES=en_US.UTF-8
LC_$everythingelse=de_AT.UTF-8
Is there a more elegant way to set LC_$everythingelse rather than setting every single value? Setting LC_ALL is not an option, since it takes precedence over LC_MESSAGES:
$ export LC_ALL=de_AT.UTF_8
$ export LC_MESSAGES=en_US.UTF_8
$ echo $LC_MESSAGES
en_US.UTF_8
$ locale | grep LC_MESSAGES
LC_MESSAGES="de_AT.UTF_8"
PS: It's a shared machine and I'm not sudoer, so changing system-wide settings is not an option.
,
in place of a.
(unfortunately), so entering numbers with a dot is inconvenient (and most apps seem to work nicely with a non-standard LC_NUMERIC). I do not fully understand your LC_COLLATE example: On my system, the example you gave does not matchB
. – Heinzi Jul 01 '11 at 13:29