LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 01-05-2007, 10:59 PM   #1
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Rep: Reputation: 15
[KDE] Ignoring LANG? / How to change localization temporarily?


Hi,

(I decided I like this place and I'd like to be more active here and more efficient in my answers. Though my system is German, when it comes to explaining GUI applications, it is preferable to call menu and option names with their English names in my postings.)

So, how do I change the language of a KDE application temporarily, without restarting KDE?

I know that setting LANG for instance to 'en_GB' in a shell should change localization for all commands I henceforth type in that shell.
But KDE applications started from there seem just to ignore that setting!
I tried to set LANG and then also LC_MESSAGES to 'en_EN', just 'en', even to 'C' -- but KDE apps just don't care...
My guess is that newly-started applications attach themselves to an already running KDE program (perhaps ksmserver?) and inherit its shell environment. Or maybe I'm just doing something wrong.

Any suggestions?



fabian
 
Old 01-06-2007, 11:25 AM   #2
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Original Poster
Rep: Reputation: 15
In case anyone is interested, I got the answer to my problem in another forum.

The variable used by KDE is not LANG but KDE_LANG. Duh. Didn't know that.

bye

Last edited by FnordPerfect; 01-10-2007 at 07:09 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gettext and localization mifi Linux - Software 0 03-24-2006 08:02 AM
localization question (hebrew) Nightfrost Linux - Software 5 05-24-2005 05:01 PM
how to change the Red Hat ENV LANG? zhgalaxy Linux - General 1 02-16-2004 08:37 PM
Localization of Slackware 9.0 karagh Slackware 10 12-26-2003 10:55 PM


All times are GMT -5. The time now is 03:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration