You are not logged in.
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
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
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
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
in my experience DE always override command line settings
ezik
Offline
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
ua4000, I didn't know about en_DK.UTF-8, that's amazing
Thanks all for your replies.
Offline