I'm having trouble getting the location right in Mageia 8. There are two different locales. If I'm in text mode, the locale shows that I'm
using Brazilian Portuguese. Inside the konsole I get that I'm using the Esperanto language.
Question: where do I configure the text mode locale and where do I configure the graphics mode locale?
On Sat, 25 Jun 2022 21:20:13 -0400, Gilberto F da Silvain Mageia 8. There are
<gfs1989@gmx.net> wrote:
=20
=C2=A0=C2=A0=C2=A0=C2=A0I'm having trouble getting the location right =
etwo different locales. If I'm in text mode, the locale shows that I'm
using Brazilian Portuguese. Inside the konsole I get that I'm using th=
I adjusted these two files for the Esperanto language. Now both theEsperanto language.=20
=C2=A0=C2=A0=C2=A0=C2=A0Question: where do I configure the text mode l= ocale and where do I
configure the graphics mode locale?=C2=A0=C2=A0=C2=A0
There are multiple ways locale is specified. At the system level, /etc/locale.conf,
/etc/sysconfig/i18n. Some desktop environments such as kde and gnome
override
the system settings.
=20
On my system ...
$ cat /etc/locale.conf
COUNTRY=3DCA
LANG=3Den_CA.UTF-8
LANGUAGE=3Den_CA:en_GB:en
=20
$ cat /etc/sysconfig/i18n
COUNTRY=3DCA
LANG=3Den_CA.UTF-8
LANGUAGE=3Den_CA:en_GB:en
LC_ADDRESS=3Den_CA.UTF-8
LC_COLLATE=3Den_CA.UTF-8
LC_CTYPE=3Den_CA.UTF-8
LC_IDENTIFICATION=3Den_CA.UTF-8
LC_MEASUREMENT=3Den_CA.UTF-8
LC_MESSAGES=3Den_CA.UTF-8
LC_MONETARY=3Den_CA.UTF-8
LC_NAME=3Den_CA.UTF-8
LC_NUMERIC=3Den_CA.UTF-8
LC_PAPER=3Den_CA.UTF-8
LC_TELEPHONE=3Den_CA.UTF-8
LC_TIME=3Den_CA.UTF-8
SYSFONT=3Dlat0-16
I'm having trouble getting the location right in Mageia 8. There are two different locales. If I'm in text mode, the locale shows that I'm
using Brazilian Portuguese. Inside the konsole I get that I'm using the Esperanto language.
Question: where do I configure the text mode locale and where do I configure the graphics mode locale?
I get an inconsistency with time format
In Dolphin the start time of a file is in 24 hour format and the end is
in 12 hour format. Odd!
I adjusted these two files for the Esperanto language. Now both thee.
text-mode locale and the konsole locale indicate Esperanto as a languag=
=20
cat /etc/locale.conf
COUNTRY=3DBR
LANG=3Deo.UTF-8
LANGUAGE=3Deo:pt_BR:pt_PT:pt
=20
=20
cat /etc/sysconfig/i18n
COUNTRY=3DBR
LANG=3Deo.UTF-8
LANGUAGE=3Deo:pt_BR:pt_PT:pt
LC_ADDRESS=3Deo.UTF-8
LC_COLLATE=3Deo.UTF-8
LC_CTYPE=3Deo.UTF-8
LC_IDENTIFICATION=3Deo.UTF-8
LC_MEASUREMENT=3Deo.UTF-8
LC_MESSAGES=3Deo.UTF-8
LC_MONETARY=3Dpt_BR.UTF-8
LC_NAME=3Deo.UTF-8
LC_NUMERIC=3Deo.UTF-8
LC_PAPER=3Deo.UTF-8
LC_TELEPHONE=3Dpt_BR.UTF-8
LC_TIME=3Dpt_BR.UTF-8
SYSFONT=3Dlat1-16
=20
Gilberto F da Silva escreveu:
I adjusted these two files for the Esperanto language. Now both the
text-mode locale and the konsole locale indicate Esperanto as a language.
cat /etc/locale.conf
COUNTRY=BR
LANG=eo.UTF-8
LANGUAGE=eo:pt_BR:pt_PT:pt
cat /etc/sysconfig/i18n
COUNTRY=BR
LANG=eo.UTF-8
LANGUAGE=eo:pt_BR:pt_PT:pt
LC_ADDRESS=eo.UTF-8
LC_COLLATE=eo.UTF-8
LC_CTYPE=eo.UTF-8
LC_IDENTIFICATION=eo.UTF-8
LC_MEASUREMENT=eo.UTF-8
LC_MESSAGES=eo.UTF-8
LC_MONETARY=pt_BR.UTF-8
LC_NAME=eo.UTF-8
LC_NUMERIC=eo.UTF-8
LC_PAPER=eo.UTF-8
LC_TELEPHONE=pt_BR.UTF-8
LC_TIME=pt_BR.UTF-8
SYSFONT=lat1-16
The system was working with the desired location but returned to the old location.
cat /etc/locale.conf
COUNTRY=BR
LANG=pt_BR.UTF-8
LANGUAGE=pt_BR:pt_PT:pt
cat /etc/sysconfig/i18n
COUNTRY=BR
LANG=pt_BR.UTF-8
LANGUAGE=pt_BR:pt_PT:pt
LC_ADDRESS=pt_BR.UTF-8
LC_COLLATE=pt_BR.UTF-8
LC_CTYPE=pt_BR.UTF-8
LC_IDENTIFICATION=pt_BR.UTF-8
LC_MEASUREMENT=pt_BR.UTF-8
LC_MESSAGES=pt_BR.UTF-8
LC_MONETARY=pt_BR.UTF-8
LC_NAME=pt_BR.UTF-8
LC_NUMERIC=pt_BR.UTF-8
LC_PAPER=pt_BR.UTF-8
LC_TELEPHONE=pt_BR.UTF-8
LC_TIME=pt_BR.UTF-8
SYSFONT=lat1-16
On Tue, 05 Jul 2022 18:40:45 -0400, Gilberto F da Silvald
<gfs1989@gmx.net> wrote:
=20
Gilberto F da Silva escreveu:
I adjusted these two files for the Esperanto language. Now both the
text-mode locale and the konsole locale indicate Esperanto as a
language.
cat /etc/locale.conf
COUNTRY=3DBR
LANG=3Deo.UTF-8
LANGUAGE=3Deo:pt_BR:pt_PT:pt
cat /etc/sysconfig/i18n
COUNTRY=3DBR
LANG=3Deo.UTF-8
LANGUAGE=3Deo:pt_BR:pt_PT:pt
LC_ADDRESS=3Deo.UTF-8
LC_COLLATE=3Deo.UTF-8
LC_CTYPE=3Deo.UTF-8
LC_IDENTIFICATION=3Deo.UTF-8
LC_MEASUREMENT=3Deo.UTF-8
LC_MESSAGES=3Deo.UTF-8
LC_MONETARY=3Dpt_BR.UTF-8
LC_NAME=3Deo.UTF-8
LC_NUMERIC=3Deo.UTF-8
LC_PAPER=3Deo.UTF-8
LC_TELEPHONE=3Dpt_BR.UTF-8
LC_TIME=3Dpt_BR.UTF-8
SYSFONT=3Dlat1-16
The system was working with the desired location but returned to the o=
location.=20
=C2=A0=C2=A0=C2=A0=C2=A0
cat /etc/locale.conf
COUNTRY=3DBR
LANG=3Dpt_BR.UTF-8
LANGUAGE=3Dpt_BR:pt_PT:pt
cat /etc/sysconfig/i18n
COUNTRY=3DBR
LANG=3Dpt_BR.UTF-8
LANGUAGE=3Dpt_BR:pt_PT:pt
LC_ADDRESS=3Dpt_BR.UTF-8
LC_COLLATE=3Dpt_BR.UTF-8
LC_CTYPE=3Dpt_BR.UTF-8
LC_IDENTIFICATION=3Dpt_BR.UTF-8
LC_MEASUREMENT=3Dpt_BR.UTF-8
LC_MESSAGES=3Dpt_BR.UTF-8
LC_MONETARY=3Dpt_BR.UTF-8
LC_NAME=3Dpt_BR.UTF-8
LC_NUMERIC=3Dpt_BR.UTF-8
LC_PAPER=3Dpt_BR.UTF-8
LC_TELEPHONE=3Dpt_BR.UTF-8
LC_TIME=3Dpt_BR.UTF-8
SYSFONT=3Dlat1-16
That would not have been caused by any updates, it has to have been a
result
of something run on that system. Neither of those files have been
touched on
my installs in well over a year.
=20
-rw-r--r-- 1 root root 52 Jan=C2=A0 6=C2=A0 2021 /etc/locale.conf
-rw-r--r-- 1 root root 349 Jul 13=C2=A0 2021 /etc/sysconfig/i18n
=20
Any idea what caused it?
The location in the Mageia is somewhat confused. Perhaps it makes sense
to those who programmed this. In MCC only two languages appear:
Portuguese and English. I don't know how to add languages to MCC. I
suppose the MCC settings regarding languages overwrite the system settings.
On Tue, 05 Jul 2022 20:33:21 -0400, Gilberto F da Silvae
<gfs1989@gmx.net> wrote:
The location in the Mageia is somewhat confused. Perhaps it makes sens=
rto those who programmed this. In MCC only two languages appear:=20
Portuguese and English. I don't know how to add languages to MCC. I
suppose the MCC settings regarding languages overwrite the system
settings.
Install the locales-eo package. Then mcc should show it as an option fo=
selection.
David W. Hodgins escreveu:
On Tue, 05 Jul 2022 20:33:21 -0400, Gilberto F da Silva
<gfs1989@gmx.net> wrote:
The location in the Mageia is somewhat confused. Perhaps it makes sense
to those who programmed this. In MCC only two languages appear:
Portuguese and English. I don't know how to add languages to MCC. I
suppose the MCC settings regarding languages overwrite the system
settings.
Install the locales-eo package. Then mcc should show it as an option for
selection.
It is already installed but does not appear in mcc.
On Tue, 05 Jul 2022 22:20:45 -0400, Gilberto F da Silvanse
<gfs1989@gmx.net> wrote:
David W. Hodgins escreveu:
On Tue, 05 Jul 2022 20:33:21 -0400, Gilberto F da Silva
<gfs1989@gmx.net> wrote:
The location in the Mageia is somewhat confused. Perhaps it makes se=
forto those who programmed this. In MCC only two languages appear:
Portuguese and English. I don't know how to add languages to MCC. I
suppose the MCC settings regarding languages overwrite the system
settings.
Install the locales-eo package. Then mcc should show it as an option =
ixed.=20selection.
It is already installed but does not appear in mcc.
It's a bug in the locales-eo package with the way mcc looks for the
language.
Esperanto is eo_XX, with the XX meaning it is not a country specific
version
of a language.
=20
Workaround until it's fixed. As root run the command
ln -s /usr/share/locale/eo /usr/share/locale/eo_XX
=20
I've opened https://bugs.mageia.org/show_bug.cgi?id=3D30614 to get it f=
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 41:01:36 |
Calls: | 6,708 |
Calls today: | 1 |
Files: | 12,243 |
Messages: | 5,353,786 |