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

A man without a country (or language)

Tags: None
(comma "," separated)
steveriley
Karma
0
Some time ago, I noticed that I have no country choices, that available languages appear only as their short codes (and no en_US, which is what I want), and that I have no languages for spell checking. Nevertheless, spell checking works in the various applications (like Rekonq) that support it. I am not exactly sure where to begin looking for solutions to this problem. Any ideas?
Image
Image
Image

Various system details below. I've had this problem for some time, so it isn't related to the KDESC 4.12 update that appeared in the Kubuntu PPA today.

Code: Select all
steve@t520:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.10
Release:        13.10
Codename:       saucy

steve@t520:~$ uname -a
Linux t520 3.12-5.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Sun Dec 15 04:45:15 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

steve@t520:~$ kded4 --version
Qt: 4.8.4
KDE Development Platform: 4.12.0
KDE Daemon: 4.12.0

steve@t520:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

steve@t520:~$ locale -a
C
C.UTF-8
en_US.utf8
POSIX

steve@t520:~$ localectl status
   System Locale: LANG=en_US.UTF-8
       VC Keymap: n/a
      X11 Layout: us
       X11 Model: pc105

steve@t520:~$ localectl list-locales
C.UTF-8
en_US.utf8

steve@t520:~$ localedef --list-archive
en_US.utf8

steve@t520:~$ tail -n +1 /var/lib/locales/supported.d/*
==> /var/lib/locales/supported.d/en <==
en_HK.UTF-8 UTF-8
en_DK.UTF-8 UTF-8
en_IN UTF-8
en_ZM UTF-8
en_ZW.UTF-8 UTF-8
en_NZ.UTF-8 UTF-8
en_PH.UTF-8 UTF-8
en_NG UTF-8
en_US.UTF-8 UTF-8
en_GB.UTF-8 UTF-8
en_AU.UTF-8 UTF-8
en_SG.UTF-8 UTF-8
en_BW.UTF-8 UTF-8
en_AG UTF-8
en_ZA.UTF-8 UTF-8
en_CA.UTF-8 UTF-8
en_IE.UTF-8 UTF-8
==> /var/lib/locales/supported.d/local <==
en_US.UTF-8 UTF-8


steve@t520:~$ dpkg -l lang* | grep ^ii
ii  language-pack-en          1:13.10+20131012        all    translation updates for language English
ii  language-pack-en-base     1:13.10+20131012        all    translations for language English
ii  language-selector-common  0.116                   all    Language selector for Ubuntu

steve@t520:~$ dpkg -l *spell* | grep ^ii
ii  aspell                   0.60.7~20110707-1build1  amd64  GNU Aspell spell-checker
ii  aspell-en                7.1-0-1                  all    English dictionary for GNU Aspell
ii  hunspell-en-us           20070829-4ubuntu3        all    English_american dictionary for hunspell
ii  libaspell15              0.60.7~20110707-1build1  amd64  GNU Aspell spell-checker runtime library
ii  libhunspell-1.3-0:amd64  1.3.2-4ubuntu1           amd64  spell checker and morphological analyzer (shared library)

steve@t520:~$ dpkg -l *dict* | grep ^ii
ii  dictionaries-common      1.20.2                   all    Common utilities for spelling dictionary tools
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does this occur under a new user?

It appears that a number of rather important locale related files specific to KDE are missing from your system - which is the case if it occurs under a new user.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
steveriley
Karma
0
Yes, indeed the problem persists even when I create a new user account.

What should I start looking for to try to fix the problem?
steveriley
Karma
0
I had filed a bug about this on Launchpad, and subsequently forgot about that. Sigh. Anyway, Harald had me check for the existence of /usr/share/locale/all_languages, which in fact was missing -- localepurge was the culprit. I disabled that, reinstalled kdelibs5-data, and normal functionality has returned.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Thanks for posting the solution.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]