This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cannot Change Language setings for KDE Apps

Tags: None
(comma "," separated)
kuf
Registered Member
Posts
3
Karma
0
Hi,

so far I did not find a solution to a problem which I experience with a KDE install on one of my machines. Problem is that I try to set all localization to German but basically all applications in KDE keep (stubbornly) insisting on using English. I changes system wide locale to de_DE and told KDE that German is my preferred language but still menus in applications stay in English. My assumption is that the user account was created when system wide language preference was set to en_US (because the person doing the original install (if I remember correctly it was kubunt 13.04) was not a German native speaker) and from that the original set-up of the user inherited English as the preferred language. I updated now system twice but seem to inherit the preference from the original set-up.

My current setup is 64 bit kubuntu 15.04 running standard pc ...

How can I consistently change my kde preferences without the need to restore my complete account? Just delete .kde and let it be re-created?

However, what is the rational behind not changing the language preferences consistently to the language which is selected in the language preference of the KDE control???

Any help or comments on this would be very much appreciated.

Best,

Klaus

PS: Answers can be given of course also in German or as a last resort in French. I only write in English with the hope for a broader audience ...
luebking
Karma
0
do you have the german i18n packages installed?
User avatar
nembro
Registered Member
Posts
6
Karma
0
Hi

I have the same problem with the Italian language in Kubuntu 15.04 64bit.
The packages kde-l10n-it is installed.

Thanks
lueck
Mentor
Posts
225
Karma
2
Installing a package kde-l10n-[langcode] is not sufficient.

Any hit running "dpkg -L systemsettings.mo" in Konsole?
User avatar
nembro
Registered Member
Posts
6
Karma
0
Hi

the response to the command is:
Code: Select all
nembrini@nembrini-desktop:~$ dpkg -L systemsettings.mo
dpkg-query: package 'systemsettings.mo' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
nembrini@nembrini-desktop:~$

Thanks
lueck
Mentor
Posts
225
Karma
2
nembro wrote:Hi

the response to the command is:
Code: Select all
nembrini@nembrini-desktop:~$ dpkg -L systemsettings.mo
dpkg-query: package 'systemsettings.mo' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
nembrini@nembrini-desktop:~$

Thanks


Sorry a typo in the given command.
Please run "dpkg -S systemsettings.mo" in konsole
User avatar
nembro
Registered Member
Posts
6
Karma
0
dpkg -S systemsettings.mo
Code: Select all
nembrini@nembrini-desktop:~$ dpkg -S systemsettings.mo
systemsettings: /usr/share/locale/si/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/is/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/pt_BR/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/zh_CN/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/sv/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/lt/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/vi/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/da/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/csb/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/or/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ug/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/hi/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/pl/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/be/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/sk/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/gl/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/sl/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/be@latin/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/sr/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ne/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/nb/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/sr@ijekavian/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/sr@latin/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ro/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/th/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/mr/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/eo/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/te/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/he/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ta/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ga/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ca@valencia/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/km/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/uk/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/sq/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/wa/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/bn_IN/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/oc/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ja/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/fy/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ia/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/mk/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/pt/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/hsb/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/fr/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ko/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/hr/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ar/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/it/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/id/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/bg/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ca/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/kk/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/zh_TW/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/nl/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/sr@ijekavianlatin/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/et/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/pa/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/nn/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ru/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/gu/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/nds/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/el/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/se/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/eu/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ml/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/fi/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/cs/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/fa/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/hu/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/en_GB/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ku/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/tg/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/es/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/bs/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/mai/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/tr/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/de/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/hne/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/ms/LC_MESSAGES/systemsettings.mo
systemsettings: /usr/share/locale/lv/LC_MESSAGES/systemsettings.mo
nembrini@nembrini-desktop:~$
lueck
Mentor
Posts
225
Karma
2
nembro wrote:dpkg -S systemsettings.mo


Output of the command looks ok, you should have all these languages available for selection in Sytemsettings.

Do you have the package "qttranslations5-l10n" installed?
User avatar
nembro
Registered Member
Posts
6
Karma
0
Yes, the package "qttranslations5-l10n" is installed.
lueck
Mentor
Posts
225
Karma
2
nembro wrote:Yes, the package "qttranslations5-l10n" is installed.


Sorry I am slowly running out of ideas and do not have the problem with a fresh kf5 installation and an update from 14.10.

Do you have a translated GUI running e.g. "LANGUAGE=it kate" in Konsole?
luebking
Karma
0
shouldn't that be "LANG=it"?

Anyway, please inspect (and/or post) the ouput of "locale" (command to enter into konsole)
User avatar
nembro
Registered Member
Posts
6
Karma
0
If I run "LANGUAGE=it kate" in Konsole or "LANG=it kate" nothing change: the application is still in English.

Here the output of locale
Code: Select all
nembrini@nembrini-desktop:~$ 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=it_IT.UTF-8
LANGUAGE=it
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=
nembrini@nembrini-desktop:~$


Thanks
lueck
Mentor
Posts
225
Karma
2
luebking wrote:shouldn't that be "LANG=it"?

No with "LANG=it" the Kate -GUI is completely in en_US, but with "LANGUAGE=it kate" I have a nearly fully translated GUI via frameworks/ktexteditor catalogs even without an installed package kde-l10n-it
luebking
Karma
0
> 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
> LC_CTYPE="it_IT.UTF-8"
> LC_MESSAGES="it_IT.UTF-8"

smells like corrupted locales.
try "sudo locale-gen"

lueck wrote:No with "LANG=it" the Kate -GUI is completely in en_US, but with "LANGUAGE=it kate" I have a nearly fully translated GUI via frameworks/ktexteditor catalogs even without an installed package kde-l10n-it

Ok, that's interesting/confusing

LANG=<anything not a valid/generated LC catalog> I get english
LANGUAGE=it indeed provides me mostly italian, but eg. LANGUAGE=dk does not get me danish, nor does cz czech. pl and sv work though - and i've no laguage packages installed =)
User avatar
nembro
Registered Member
Posts
6
Karma
0
Hi

try "sudo locale-gen"

now it works correctly!

thanks a lot ;)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]