Language selection fails to set all locale environment variables correctly.

Bug #574540 reported by Spang
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

- Migration from 9.10 to 10.04.
- Default language set to dutch nl-be. (family computer)
- My desktop set to us english
- resulting in mixed dutch english gnome ui

When I looked around a bit "locales" command told me that env var LANG was set to us english, but LANGUAGE var was set to nl be. So apparently selecting language (e.g. at login) sets the one but not the other

I was finally able to fix it by adding
export LANGUAGE="en_US.utf8"
to .profile in my home dir.

Took quite a while to find this.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: locales 2.11+git20100304-3
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Mon May 3 17:12:16 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.utf8
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: langpack-locales

Revision history for this message
Spang (hetkot) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Revision history for this message
Martin Pitt (pitti) wrote :

I assume you used language-selector for this, i. e. Applications -> Prefs -> Languages ? You need to select both region and language there.

LANGUAGE="en_US.utf8" is invalid, by the way. If you want English, please set LANGUAGE="en".

affects: langpack-locales (Ubuntu) → language-selector (Ubuntu)
Changed in language-selector (Ubuntu):
status: New → Incomplete
Changed in language-selector (Ubuntu):
status: New → Confirmed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

For the case you are still using Ubuntu 10.04, you may want to try backported language-selector and gdm packages that ought to fix the described behavior.

You can enable the whole backports repository
https://help.ubuntu.com/community/UbuntuBackports#How_to_use

or download and install the applicable .deb files, which e.g. are available in my PPA
https://launchpad.net/~gunnarhj/+archive/lang-backports

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for language-selector (Ubuntu) because there has been no activity for 60 days.]

Changed in language-selector (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.