Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


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

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


(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?

Old 01-06-2007, 10:25 AM   #2
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.


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


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 07:02 AM
localization question (hebrew) Nightfrost Linux - Software 5 05-24-2005 04:01 PM
how to change the Red Hat ENV LANG? zhgalaxy Linux - General 1 02-16-2004 07:37 PM
Localization of Slackware 9.0 karagh Slackware 10 12-26-2003 09:55 PM

All times are GMT -5. The time now is 01:56 PM.

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