Page 1 of 1

Mageia 8/FDE UK locale and units

PostPosted: Mar 21st, '21, 22:53
by chriskross
I recently upgraded to Mageia 8. When I went to set my preferred date formats I noticed that the UK local now has 'imperial UK' as units of measurement.Wtf? It's always been metric before.

Re: Mageia 8/FDE UK locale and units

PostPosted: Mar 21st, '21, 23:52
by doktor5000
You set your preferred date formats where in particular, using which tool ?

Re: Mageia 8/FDE UK locale and units

PostPosted: Mar 22nd, '21, 00:14
by chriskross
systemsettings5

Re: Mageia 8/FDE UK locale and units

PostPosted: Mar 22nd, '21, 02:17
by doktor5000
And what did you select in particular, only United Kingdom and no detailed settings ?

Can you please also post the output of
Code: Select all
locale


AFAICT, you'd probably need to switch at least LC_MEASUREMENT to metric. Although that's not a KDE issue, this comes from the systemwide locale definitions.
Have a look at e.g. https://forum.manjaro.org/t/metric-form ... uage/34506

Re: Mageia 8/FDE UK locale and units

PostPosted: Mar 22nd, '21, 10:07
by chriskross
This is after I made changes:
Code: Select all
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=sv_AX.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_IE.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_ALL=


I started by setting the overall locale to en_GB.UTF-8. That was when I noticed that it no longer showed 'metric'. This is the point of my message: previously 'metric' was the default for the UK (over many years). I shouldn't have to change that setting myself. Who decides what the individual default settings should be?

Re: Mageia 8/FDE UK locale and units

PostPosted: Mar 22nd, '21, 18:45
by doktor5000
chriskross wrote:Who decides what the individual default settings should be?

As mentioned, this comes from locale definitions.

You may want to have a look at https://unix.stackexchange.com/question ... ish-locale

Re: Mageia 8/FDE UK locale and units

PostPosted: Mar 22nd, '21, 19:24
by chriskross
Thanks for the links. My question is: why has the default measurements for the UK changed away from metric?

Re: Mageia 8/FDE UK locale and units

PostPosted: Mar 23rd, '21, 00:31
by doktor5000
That is definitely a good question, been trying to get an answer on that, and I don't see where this might have changed.

Apart from showing "imperial" in systemsettings, did you actually test this somewhere ? Just for completeness sake, might only be a display issue and it's still using metric units ...

Re: Mageia 8/FDE UK locale and units

PostPosted: Mar 23rd, '21, 10:02
by chriskross
It's probably not of great importance in the operation of the OS; it's more an irritation for me! But I'm not sure how I'd test it. Where does that parameter actually get used?

I'd like to add that although I've chosen a locale that uses the ISO date format and the space for 000's I still see the dd-mmm-yyyy format in Dolphin and in KMymoney (yet the latter uses the space for 000's!)