Bug 175616

Summary: konsole outputs in wrong language when two languages are installed
Product: [Applications] konsole Reporter: vatbier <vatbier>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED REMIND    
Severity: normal CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description vatbier 2008-11-19 21:15:26 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Mandriva RPMs

Mandriva Linux 2009 
KDE 4.1.2

At installation of Mandriva 2009 I selected the languages English (American) and Dutch (as I live in Belgium). 
KDE systemsettings:Regional & Language: 
 Country: Belgium 
 Languages: US English, Dutch

In konsole some commands use Dutch output, like: 
konsole: urpmf /bin/mail : 
geen xml-info beschikbaar voor medium "Mandriva Linux - 2009.0 (Powerpack) - Installer"
(urpmf is a Mandriva program)

I want it to use English output, like it does when in root environment:
konsole: su -; urpmf /bin/mail:
no xml-info available for medium "Mandriva Linux - 2009.0 (Powerpack) - Installer"

I figured out that the fault lies with konsole/kde: 
konsole: echo $LANGUAGE 
nl 
 
KDE systemsettings:Regional & Language:Languages: US English, Dutch 
If I remove Dutch and open a new konsole then 
echo $LANGUAGE 
en_US 
 
If I put Dutch above US English, the environment variable LANGUAGE remains "nl". 
So I can remove Dutch from the KDE languages (the spelling dictionaries for Dutch luckily do not get removed). 
Or I can edit the current profile of Konsole: Environment:Edit: add "LANGUAGE=en_US". 
And I now have my wanted konsole outputs in English.

When the language setting of KDE is US English (above Dutch), then konsole should set the LANGUAGE environment variable to "en_US" and not to "nl".

vatbier
Comment 1 Jekyll Wu 2011-08-04 09:43:51 UTC
Can't reproduce it with KDE-4.7.0

Feel free to reopen  if this still happens in recent version.