Comment 7 for bug 1255761

Revision history for this message
Knut Hildebrandt (knut-hildebrandt-deactivatedaccount) wrote : Re: Can't configure country, languages, or spell checker

Well, /usr/share/locale/all_languages didn't exist. Just reinstalling kdelibs5-data didn't help to bring it back. Following Steve's suggestion and uninstalling localepurge first did the job. But it helped only partially.

1. In systemsettings language I get the list with all languages again and even can choose my preferred languages. But still there are no flags, neither in the language setting dialogue nor for the keyboard switch widget in the taskbar.

2. I still can't choose any other currency except US dollar, but even for that not a symbol.

3. No change in the country tab. It still offers "System Country ()" and "No Country (Default Settings)". Doesn't state that Spanish is set als system language nor offers to change that.

4. In systemsettings dictionary I can choose now from "German ()" "English ()" "English" "Spanish ()" "Spanish". Notice that English and Spanish occure twice and German only once.

5. In kmail the situation imporved partially. I can now select die dictionary for spell checking again. Only drawback, the German dictionary doesn't work, whereas both English and Spanish dictionaries do. And German unfortunately is the one I use most ;-(

6 The localization of the kde applications seems to work again. Menus are in the language that is the top one in "Preferred Languages", except for the applications where the language was set separately.

Furthermor I noticed that ~/.kde/env/setlocale.sh is back again. It actually is created every time language settings are saved. And it still messes up locales. After reinstalling kdelibs5-data and making some changes to language settings they looked as follows:

knut@knubuntu:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=de_C.ISO-8859-1
LANGUAGE=de:es:en_GB:en
LC_CTYPE="de_C.ISO-8859-1"
LC_NUMERIC="de_C.ISO-8859-1"
LC_TIME="de_C.ISO-8859-1"
LC_COLLATE="de_C.ISO-8859-1"
LC_MONETARY="de_C.ISO-8859-1"
LC_MESSAGES="de_C.ISO-8859-1"
LC_PAPER="de_C.ISO-8859-1"
LC_NAME="de_C.ISO-8859-1"
LC_ADDRESS="de_C.ISO-8859-1"
LC_TELEPHONE="de_C.ISO-8859-1"
LC_MEASUREMENT="de_C.ISO-8859-1"
LC_IDENTIFICATION="de_C.ISO-8859-1"
LC_ALL=

with ~/.kde/env/setlocale.sh:

export LANG=de_C.ISO-8859-1
export LANGUAGE=de:es:en_GB:en

knut@knubuntu:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=es_C.ISO-8859-1
LANGUAGE=es:de:en_GB:en
LC_CTYPE="es_C.ISO-8859-1"
LC_NUMERIC="es_C.ISO-8859-1"
LC_TIME="es_C.ISO-8859-1"
LC_COLLATE="es_C.ISO-8859-1"
LC_MONETARY="es_C.ISO-8859-1"
LC_MESSAGES="es_C.ISO-8859-1"
LC_PAPER="es_C.ISO-8859-1"
LC_NAME="es_C.ISO-8859-1"
LC_ADDRESS="es_C.ISO-8859-1"
LC_TELEPHONE="es_C.ISO-8859-1"
LC_MEASUREMENT="es_C.ISO-8859-1"
LC_IDENTIFICATION="es_C.ISO-8859-1"
LC_ALL=

with ~/.kde/env/setlocale.sh:

export LANG=es_C.ISO-8859-1
export LANGUAGE=es:de:en_GB:en

knut@knubuntu:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.ISO-8859-1
LANGUAGE=en_GB:es:de:en
LC_CTYPE="en_GB.ISO-8859-1"
LC_NUMERIC="en_GB.ISO-8859-1"
LC_TIME="en_GB.ISO-8859-1"
LC_COLLATE="en_GB.ISO-8859-1"
LC_MONETARY="en_GB.ISO-8859-1"
LC_MESSAGES="en_GB.ISO-8859-1"
LC_PAPER="en_GB.ISO-8859-1"
LC_NAME="en_GB.ISO-8859-1"
LC_ADDRESS="en_GB.ISO-8859-1"
LC_TELEPHONE="en_GB.ISO-8859-1"
LC_MEASUREMENT="en_GB.ISO-8859-1"
LC_IDENTIFICATION="en_GB.ISO-8859-1"
LC_ALL=

with ~/.kde/env/setlocale.sh:

export LANG=en_GB.ISO-8859-1
export LANGUAGE=en_GB:es:de:en

In all cases instead of UTF-8 ISO-8859-1 was set as charset which interferred with quite a few applications as digikam and kontact. And except for the English setting we again have strange locales like de_C.ISO-8859-1 or es_C.ISO-8859-1. After I deleted the file everything went back to normal and the system works as above stated. The only thing I have do do that it stays like that, is deleting ~/.kde/env/setlocale.sh every time I make changes to language settings in systemsettings. BTW, after deleting it the first time at least the ISO-8859-1 charset isn't appended anymore, but UTF-8 again.

So I would say it more or less works for me again with some minor drawbacks - like deleting ~/.kde/env/setlocale.sh business and the missing flags and currency symbols - and of course the missing German spell checking, which I regard a major loss.

BTW, apart from reinstalling kdelibs5-data I reinstalled all laguage packages including those for kde and gnome. Only exception packages related to firefox and libreoffice.