Comment 2 for bug 1159496

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: Locales does not set language fully

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"