[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KLocale weirdnes
From:       "Jacek Konieczny" <jajcus () zeus ! polsl ! gliwice ! pl>
Date:       1998-02-28 12:07:16
[Download RAW message or body]

Hi!

I just wanted to fix kpanel to display time using locale. But it didn't worked.
So, I looked into klocale.cpp and I found out, that locale is always set to 
"C", and LANG variable is only used for message translations.

Why it is done this way. If there is no one who may give a reason with sense, 
I will fix it to set locale using 'setlocale(LC_ALL,"")'.

Not only messages are controled by locale, so it should be used.
Also there should be possibility to set messages using LC_MESSAGES, and having 
other variables set to "C",

This way it is done now KDE is not consistent with other locale-using 
applications.

Greets,
  Jacek
-- 
+---------+--------------------------------------------------------+
!      ,  !            Jacek Konieczny, Gliwice, Poland            !      
! Jajcus  ! email: jajcus@zeus.polsl.gliwice.pl, jajcus@polbox.com !
!         ! ICQ# 7149127                           WWW: none (yet) !
+---------+--------------------------------------powered-by-Linux--+

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic