← Back to team overview

desktop-packages team mailing list archive

[Bug 574540] Re: Language selection fails to set all locale environment variables correctly.

 

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

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

Title:
  Language selection fails to set all locale environment variables
  correctly.

Status in “language-selector” package in Ubuntu:
  Incomplete

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/574540/+subscriptions