** Also affects: lxde
   Importance: Undecided
       Status: New

** Summary changed:

- Selecting another preferred language in Lubuntu is confusing
+ Display language not set properly in Lubuntu

** Description changed:

- The menu for selecting another preferred language seems to be confusing
- or is buggy.
+ Addition derived from the conclusions of the discussion below
+ -------------------------------------------------------------
+ In Ubuntu, the environment variables LANGUAGE and LC_MESSAGES are used to 
denote the display language, while LANG holds a locale name that determines 
regional formats such as date/time format, currency, etc. The Ubuntu package 
language-selector is used by Lubuntu for setting language preferences.
+ 
+ language-selector stores the per-user language settings in ~/.profile,
+ and assumes that the login manager sources ~/.profile at login. However,
+ the conclusion from the discussion below is that Lubuntu/lxdm ignores
+ ~/.profile, which is a bug that needs to be fixed.
+ 
+ System-wide language settings are stored in /etc/default/locale. In
+ Lubuntu those settings are used at login for setting the language
+ related environment variables, and since ~/.profile is ignored, it's
+ currently /etc/default/locale that determines the display language for
+ all users on the system.
+ 
+ As regards the display language on the login screen, neither LANGUAGE
+ nor LC_MESSAGES in /etc/default/locale seems to be recognized. It means
+ that LANG controls the display language, which results in the wrong
+ language if LANGUAGE/LC_MESSAGES differ from LANG. This is also a bug
+ that should be fixed.
+ 
+ Original description
+ --------------------
+ The menu for selecting another preferred language seems to be confusing or is 
buggy.
  
  1. When I set English as the preferred language after I installed Lubuntu 
with preferred language = dutch,
  the dutch gets grayed out in the menu?? (Although it is still installed). 
After logging off, the preferred
  laguage wansn't changed. One has to reboot the system before it's getting 
changed
  
  2. The menu shows uninstalled languages (such as chinese? and deutsch??)
  
  3. When Dutch is selected back as the preferred language, then both Dutch and 
English are displayed in black (which
  is ok)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: lxdm 0.4.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic i686
  ApportVersion: 1.23-0ubuntu1
  Architecture: i386
  Date: Fri Sep 23 14:11:39 2011
  InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110830.2)
  ProcEnviron:
-  LANGUAGE=nl:en
-  LANG=nl_BE.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=nl:en
+  LANG=nl_BE.UTF-8
+  SHELL=/bin/bash
  SourcePackage: lxdm
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.lxdm.lxdm.conf: 2011-09-02T16:01:26.397322

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/857326

Title:
  Display language not set properly in Lubuntu

To manage notifications about this bug go to:
https://bugs.launchpad.net/lxde/+bug/857326/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to