accountsservice does not set language fully
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice (Ubuntu) |
Fix Released
|
Low
|
Gunnar Hjalmarsson |
Bug Description
I have updated my system and chose "Catalan" language as my locale everywhere. If I enter "locale" at a command line, I get the following:
LANG=ca_ES.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=ca_ES.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=ca_ES.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
Notice the wrong string in language and and the empty string in LC_ALL. Some programs which are localized in Catalan don't start in Catalan, unless I redefine the variable LANGUAGE to:
LANGUAGE= ca:ca_ES:ca
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: locales 2.13+git20120306-9
ProcVersionSign
Uname: Linux 3.8.0-14-generic x86_64
ApportVersion: 2.9.2-0ubuntu2
Architecture: amd64
Date: Sun Mar 24 20:13:39 2013
InstallationDate: Installed on 2012-05-31 (297 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
PackageArchitec
SourcePackage: langpack-locales
UpgradeStatus: Upgraded to raring on 2013-02-28 (24 days ago)
Hi Walter, and thanks for your help to make Ubuntu better by reporting this issue. (I don't think it has anything to do with langpack-locales, though.)
Anyway, I'm deeply involved in this problem area, and have some questions.
First, to better understand the problem, I'm interested in the contents of two files. Can you please let us know the output from these commands:
cat /etc/default/locale
cat ~/.pam_environment
On 2013-03-24 20:17, Walter Garcia-Fontes wrote:
> I have updated my system and chose "Catalan" language as my locale
> everywhere.
Were the programs you mention displayed in Catalan before the update?
Exacly what did you do when updating? Are you referring to the distupgrade 24 days ago?
> Notice the wrong string in language and and the empty string in LC_ALL.
It's not "wrong" per se. LC_ALL is not supposed to be set.
> Some programs which are localized in Catalan don't start in Catalan,
> unless I redefine the variable LANGUAGE to:
>
> LANGUAGE= ca:ca_ES:ca
That's the same as just saying LANGUAGE=ca_ES
If ca_ES works but not ca for some programs, I suppose that you have a /usr/share/ locale/ ca_ES folder on your system with translations for those programs. And if so, setting the language to your liking using Language Support should populate LANGUAGE in a way that works; e.g. like
LANGUAGE="ca_ES:en"