You are not logged in.

#1 2019-06-06 14:13:08

midian
Member
Registered: 2019-02-21
Posts: 39

[solved] Using English as system lang with European regional settings

I'd like to use English as main language in Arch, but with the metric system and european date/time, decimal, etc.

My current /etc/locale.conf has this:

LANG=en_US.UTF-8
LC_COLLATE=en_US.UTF-8

So I was thinking I could add LC_NUMERIC, LC_TIME, LC_MONETARY, LC_MEASUREMENT and LC_PAPER and set them to a different country locale.

Is this the correct/best way to do that in Arch?

Edit: forgot to add that my current DE is Gnome, in case it requires any special tweak.

Last edited by midian (2019-06-07 17:22:02)

Offline

#2 2019-06-06 14:16:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [solved] Using English as system lang with European regional settings

What prevents you from trying? If it doesn't work you'll know that something is overriding these and you might have to scourge through GNOME settings.

Offline

#3 2019-06-06 16:22:57

midian
Member
Registered: 2019-02-21
Posts: 39

Re: [solved] Using English as system lang with European regional settings

Ok, tried... but it doesn't seem a good idea after all.

I enabled an european language in /etc/locale.gen and added the extra constants to /etc/locale.conf and then used locale-gen to regenerate the locales.

Gnome didn't seem to care, so I reverted the edits to locale.conf and went to gnome settings > region & language > formats, searched for the language I added before to locale.gen (else it won't show up), then restarted Gnome.

Now for some reason Gnome is using the regional language in some parts of the UI (e.g. calendar) instead of English (which IS selected in region & language as main language). And software like Libreoffice don't seems to honor the custom paper size, so I had to change their settings manually.

Oh well. I'll try experimenting a little more, then probably revert everything.

Last edited by midian (2019-06-06 16:23:51)

Offline

#4 2019-06-06 17:35:17

ua4000
Member
Registered: 2015-10-14
Posts: 418

Re: [solved] Using English as system lang with European regional settings

I use LANG=en_DK.UTF-8 - see here for the benefits: http://www.ivoras.net/blog/tree/2010-12 … ocale.html

# /etc/locale.gen
  LANG=en_DK.UTF-8

locale-gen

# /etc/locale.conf
LANG=en_DK.UTF-8

# /etc/environment
LANG=en_DK.UTF-8

Offline

#5 2019-06-06 18:32:24

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 454

Re: [solved] Using English as system lang with European regional settings

in my experience DE always  override  command line settings

ezik

Offline

#6 2019-06-07 11:56:04

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: [solved] Using English as system lang with European regional settings

Well I never I Live in Peru, Use English GB, Spanish keyboard. local time and currency. all done in Gnome settings no files touched and do the same with every full blown DE i use. as for Libra office i don't use it but believe you need to download the language pack to suit and set to default.


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#7 2019-06-07 17:21:32

midian
Member
Registered: 2019-02-21
Posts: 39

Re: [solved] Using English as system lang with European regional settings

ua4000, I didn't know about en_DK.UTF-8, that's amazing smile

Thanks all for your replies.

Offline

Board footer

Powered by FluxBB