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

Can't select other locale than English in systemsettings

Tags: None
(comma "," separated)
User avatar
Poliander
Registered Member
Posts
16
Karma
0
OS
Hello dear KDE fellows,

A few months ago my German locale disappeared from my KDE 4.2 SVN installation. l10n-kde4/de was successfully compiled and installed by kdesvn-build, but there is still no other option than English available in the systemsettings dialogue ("System Settings" -> "Regional & Language" -> "Add Language": only English).

I first made the assumption that this might be a temporary bug since I'm using kde-svn, but now... after 2 or 3 months... it's getting a bit strange. It worked fine a long time!

Everything is installed in "/usr/local/kde", and there is a "de" directory of 15MB size in ".../share/locale/de" - so the data is in place. What's wrong with my installation, any ideas?


Debian GNU/Linux 5.0 | Kernel 2.6.27.6 | KDE 4.3 SVN
Nvidia 8600M GS | Core2Duo T7300 | 2 GB RAM
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS
At konsole:
Code: Select all
sudo qt-language-selector --mode install
and install German.


User avatar
Poliander
Registered Member
Posts
16
Karma
0
OS
Thanks a lot. But I couldn't figure out where qt-language-selector comes from, it doesn't exist on my system. Is this program part of Qt, KDE, PyQT4, or another deb/rpm.... ? What are the origins of this mysterious program? Is it part of qtcopy (I'm using Qt4 4.4.3 from Debian experimental branch)?

Edit: I'm suspecting this is a (K)Ubuntu specific mechanism, isn't it? (Please correct me if I'm wrong, I'm getting quite nervous right now...)

Last edited by Poliander on Thu Jan 15, 2009 3:08 pm, edited 1 time in total.


Debian GNU/Linux 5.0 | Kernel 2.6.27.6 | KDE 4.3 SVN
Nvidia 8600M GS | Core2Duo T7300 | 2 GB RAM
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS
The package is maintained by KDE devels.. it can though be a kubuntu specific package. Have you tried installing kde-l10n-de and/or language-pack-de ?


User avatar
Poliander
Registered Member
Posts
16
Karma
0
OS
LinuxIsInnovation wrote:Have you tried installing kde-l10n-de and/or language-pack-de ?


Yes, I couldn't see any (helpful) dependencies when trying (apt-get -s ...) to install the kde-l10n-de v4.1.4 Debian/experimental package. There seems to be no Debian package at all containing a file called qt-language-selector, according to packages.debian.org.

My ~/.kdesvn-buildrc (v1.7.1) contains the following line:

Code: Select all
kde-languages de


It updates, compiles and installs without any error messages:

Code: Select all
[...]
Updating l10n-kde4
        Updating de
        Updating scripts

>>
[...]
Building l10n-kde4/de (13/13)
        Checking for source conflicts...
        Compiling, attempt 1...
        Build succeeded after 1 minute, and 46 seconds.
        Installing l10n-kde4/de.
        Overall time for l10n-kde4/de was 2 minutes, and 22 seconds.
[...]


So I wonder why KDE is unable to find any other installed locale than the default en_US one. How exactly does this systemsettings module know about installed locales, where does this tiny little piece of information come from? A config file, from Qt, an environment variable, does it search the locale directory by itself, is there some kind of configuration database which is needed to be updated somehow... it's really a mystery. I hope someone around here knows how this works.


Debian GNU/Linux 5.0 | Kernel 2.6.27.6 | KDE 4.3 SVN
Nvidia 8600M GS | Core2Duo T7300 | 2 GB RAM
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I can confirm this issue. Although you can only select "US English" where I would prefer "British English" ( differences in spelling mainly )

You can manually change the language by editing the file $KDEHOME/share/config/kdeglobals
Find the section "[Locale]" , and change the value "Language" to the ISO code for your language ( en_GB in my case )

KDE 4.2 should not be released in a condition where you cannot select another language. I would recommend sending a mail to kde-core-devel@kde.org to let the developers become aware of this issue.

Last edited by bcooksley on Thu Jan 15, 2009 8:02 pm, edited 1 time in total.


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


Bookmarks



Who is online

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