Bug 175616 - konsole outputs in wrong language when two languages are installed
Summary: konsole outputs in wrong language when two languages are installed
Status: RESOLVED REMIND
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-19 21:15 UTC by vatbier
Modified: 2011-08-04 09:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.