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"

** Changed in: langpack-locales (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to langpack-locales in Ubuntu.
https://bugs.launchpad.net/bugs/1159496

Title:
  Locales does not set language fully

Status in “langpack-locales” package in Ubuntu:
  Incomplete

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=ca:en_US:en
  LC_CTYPE="ca_ES.UTF-8"
  LC_NUMERIC=ca_ES.UTF-8
  LC_TIME=ca_ES.UTF-8
  LC_COLLATE="ca_ES.UTF-8"
  LC_MONETARY=ca_ES.UTF-8
  LC_MESSAGES="ca_ES.UTF-8"
  LC_PAPER=ca_ES.UTF-8
  LC_NAME=ca_ES.UTF-8
  LC_ADDRESS=ca_ES.UTF-8
  LC_TELEPHONE=ca_ES.UTF-8
  LC_MEASUREMENT=ca_ES.UTF-8
  LC_IDENTIFICATION=ca_ES.UTF-8
  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
  ProcVersionSignature: Ubuntu 3.8.0-14.24-generic 3.8.4
  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
  PackageArchitecture: all
  SourcePackage: langpack-locales
  UpgradeStatus: Upgraded to raring on 2013-02-28 (24 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/1159496/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to