You are not logged in.
Pages: 1
Hi all,
I've got into a locale problem.
At the Q4OS install time I choosed fr_BE and everything went well.
Yesterday I modified something inadvertently in my account (I know neither how nor what).
As a result, the Application Launcher appears in English (it was in french before, screenshot here under) and some installed programs turned into English too (GIMP for example).
The command $locale gives this result (note that the LC_TIME was modified intentionally some days before):
locale: Ne peut initialiser LC_ALL à la locale par défaut: Aucun fichier ou dossier de ce type
LANG=fr_BE.UTF-8
LANGUAGE=fr
LC_CTYPE="fr_BE.UTF-8"
LC_NUMERIC=fr_BE.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE="fr_BE.UTF-8"
LC_MONETARY=fr_BE.UTF-8
LC_MESSAGES="fr_BE.UTF-8"
LC_PAPER=fr_BE.UTF-8
LC_NAME=fr_BE.UTF-8
LC_ADDRESS=fr_BE.UTF-8
LC_TELEPHONE=fr_BE.UTF-8
LC_MEASUREMENT=fr_BE.UTF-8
LC_IDENTIFICATION=fr_BE.UTF-8
LC_ALL=
In the meantime, I've installed (sudo apt install ...) gnuplot, sqlite3, gwenview, and the Update manager installed updates.
The problem happens only for my user account. It doesn't happen neither for a user created previously nor for a user created afterwards.
The file /etc/default/locale seems correct:
LANG=fr_BE.UTF-8
LC_ADDRESS=fr_BE.UTF-8
LC_IDENTIFICATION=fr_BE.UTF-8
LC_MEASUREMENT=fr_BE.UTF-8
LC_MONETARY=fr_BE.UTF-8
LC_NAME=fr_BE.UTF-8
LC_NUMERIC=fr_BE.UTF-8
LC_PAPER=fr_BE.UTF-8
LC_TELEPHONE=fr_BE.UTF-8
LC_TIME=fr_BE.UTF-8
I googled to find a solution, but I wasn't able to fix this problem by myself. Any help appreciated.
Thanks,
Laurent
Last edited by hchiper (2020-08-05 12:02)
Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD
Offline
I just installed a new package and I got this warning during the setup:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr",
LC_ALL = (unset),
LC_TIME = "fr_FR.UTF-8",
LC_MONETARY = "fr_BE.UTF-8",
LC_ADDRESS = "fr_BE.UTF-8",
LC_TELEPHONE = "fr_BE.UTF-8",
LC_NAME = "fr_BE.UTF-8",
LC_MEASUREMENT = "fr_BE.UTF-8",
LC_IDENTIFICATION = "fr_BE.UTF-8",
LC_NUMERIC = "fr_BE.UTF-8",
LC_PAPER = "fr_BE.UTF-8",
LANG = "fr_BE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("fr_BE.UTF-8").
locale: Ne peut initialiser LC_ALL à la locale par défaut: Aucun fichier ou dossier de ce type
Does this help to tackle the problem?
Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD
Offline
I believe my problem is solved. I found the solution on this forum.
In short, I just deleted this file :
/home/laurent/.configkde/plasma-locale-settings.sh
I logged out and when I logged in again everything was fine.
Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD
Offline
This was not enough, because at the 2nd login that file was back with an inappropriate content.
I also had to edit
/home/laurent/.configkde/plasma-localerc
and to leave only this content:
[Formats]
LANG=fr_BE.UTF-8
Now it seems to be OK, the .sh file is no more back.
Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD
Offline
Pages: 1