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

Problem with locale in KDE?

Tags: None
(comma "," separated)
User avatar
Oceanwatcher
Registered Member
Posts
246
Karma
0
OS

Problem with locale in KDE?

Fri Sep 25, 2009 10:34 am
I am running Kubuntu 9.04 with KDE 4.3.1

It seems to me that there is a problem with KDE not updating locale settings in the OS when a user changes the region settings in the GUI.

This leads to problems with applications that rely on the locale settings for units like the format of time.

In System settings, my region/country is set to Brazil, language is US English. I have not added any languages, I chose it during installation.

So everything in the interface is in English, but all units, measurements, currency, time etc. corresponds with what is normal here in Brazil. I am a Norwegian that do not speak Portuguese well enough to operate any programs in Portuguese. :-) (working on it!)

If I run "locale" in a terminal I get this:

Code:

LANG=en_US.UTF-8
LANGUAGE=
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=


This does not correspond with what I have set in the system settings.

The result is that Skype is displaying the time in 12h format, and I really prefer 24h format. It would also mean that any program that rely on the locale setting for getting their regional settings correct, will have a problem.

Why does not the locale settings update according to the System settings in KDE? Is there a checkbox I forgot to check somewhere?

This is like having two different times, one in the GUI and one in the underlying OS (yes, I know that the hardware clock usually runs UTC :) ).
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Problem with locale in KDE?

Fri Sep 25, 2009 10:43 pm
It appears that KDE does not set the System Locale settings, or if it does it will require you to logout and back in again, since the settings are set at a lower level during KDE startup.

You may wish to file a bug about this at bugs.kde.org.


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


Bookmarks



Who is online

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