It looks like I have problems with locale in my MGA9 system.
I installed the photobook program CEWE Fotoservice on Mageia 9. The CEWE installer finished the installation fine, with: everything installed OK.
The desktop icon for CEWE Fotoservice is installed too.
However: this desktop icon refuses to start the foto-software (after double-click there's only a short blinking in the icon).
In the Konsole the command to run ./'CEWE Fotoservice' gives the following error:
- Code: Select all
[marc@artis CEWE Fotoservice]$ ./'CEWE Fotoservice'
terminate called after throwing an instance of 'St13runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)
[marc@artis CEWE Fotoservice]$
I thought: is there something wrong with one or more locales?
So I typed, as user:
- Code: Select all
[marc@artis ~]$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_DK.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=nl_NL.UTF-8
LC_TIME=nl_NL.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=C
LC_MESSAGES=en_US.UTF-8
LC_PAPER=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_ADDRESS=nl_NL.UTF-8
LC_TELEPHONE=nl_NL.UTF-8
LC_MEASUREMENT=en_NL.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_ALL=
* Note: No idea where the language DK for Denmark comes from. I've installed MGA 9 with Language=American English, Country=NL, American keyboard, Timezone=Amsterdam.
* Note that LC_ALL= is still empty.
Then, as user, I looked at /etc/locale.conf:
- Code: Select all
[marc@artis ~]$ cat /etc/locale.conf
COUNTRY=NL
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ADDRESS=nl_NL.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_MONETARY=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_NUMERIC=nl_NL.UTF-8
LC_PAPER=nl_NL.UTF-8
LC_TELEPHONE=nl_NL.UTF-8
[marc@artis ~]$
Then, as root:
- Code: Select all
[root@artis ~]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=nl_NL.UTF-8
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=nl_NL.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_ADDRESS=nl_NL.UTF-8
LC_TELEPHONE=nl_NL.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_ALL=
As you see: no locale is the same. This last one looks o.k., because in MCC I selected as language English American.
Then, again as root:
- Code: Select all
[root@artis ~]# cat /etc/locale.conf
COUNTRY=NL
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ADDRESS=nl_NL.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_MONETARY=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_NUMERIC=nl_NL.UTF-8
LC_PAPER=nl_NL.UTF-8
LC_TELEPHONE=nl_NL.UTF-8
[root@artis ~]#
[/quote]
Then, as root:
- Code: Select all
[root@artis ~]# cat /etc/sysconfig/i18n
COUNTRY=NL
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8:en_US:en
LC_ADDRESS=nl_NL.UTF-8
LC_COLLATE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_NUMERIC=nl_NL.UTF-8
LC_PAPER=nl_NL.UTF-8
LC_TELEPHONE=nl_NL.UTF-8
LC_TIME=en_US.UTF-8
SYSFONT=lat0-16
[root@artis ~]#
It looks like there are different versions of locale in my system?
And further: when I try to change the US language into Dutch language, in the System Settings, under Regional Settings, I get this error:
'Could not find the system's available locales using the localectl tool. Please file a bug report about this at https://bugs.kde.org"
How can I repair this strange situation? (I'm not a computer expert).
Thanks in advance.
Regards from Amsterdam,
Marc.