[Bug 1423995] [NEW] LANGUAGE is set incorrectly in ~/.kde/env/setlocale.sh

Leon Maurer leon.maurer at gmail.com
Fri Feb 20 17:41:44 UTC 2015


Public bug reported:

(I origionally submitted this bug to KDE, but I was told it was a
Kubuntu problem: https://bugs.kde.org/show_bug.cgi?id=342288 . This also
may be related to bug #1322968)

I was playing around with the prefered languages setting, and I briefly
put Russian in the list along with American English. However, even when
I removed Russian, Russian still showed up all over the place. I found
that the LANGUAGE environment variable was set to "en:ru:en" (which
sometimes overrode the fact that LANG was correctly set to
"en_US.UTF-8"). After much searching, I found that LANGUAGE was being
set to "en:ru:en"  in ~/.kde/env/setlocale.sh:

$ cat ~/.kde/env/setlocale.sh
export LANGUAGE=en:ru:en
export LANG=en_US.UTF-8
export LC_NUMERIC=en_US.UTF-8
export LC_TIME=en_US.UTF-8
export LC_MONETARY=en_US.UTF-8
export LC_PAPER=en_US.UTF-8
export LC_IDENTIFICATION=en_US.UTF-8
export LC_NAME=en_US.UTF-8
export LC_ADDRESS=en_US.UTF-8
export LC_TELEPHONE=en_US.UTF-8
export LC_MEASUREMENT=en_US.UTF-8

So, LANG is being set correctly, but LANGUAGE is not.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: systemsettings 4:4.11.12-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Feb 20 11:38:13 2015
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/systemsettings
InstallationDate: Installed on 2012-12-14 (798 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kde-workspace
UpgradeStatus: Upgraded to utopic on 2014-11-18 (93 days ago)

** Affects: kde-workspace (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages utopic

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1423995

Title:
  LANGUAGE is set incorrectly in ~/.kde/env/setlocale.sh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1423995/+subscriptions




More information about the kubuntu-bugs mailing list