← Back to team overview

desktop-packages team mailing list archive

[Bug 857326] Re: Display language not set properly in Lubuntu

 

Thanks a lot for the info!

Your tests confirm my suspicion that Lubuntu ignores the per-user
settings in ~/.profile. That's a bug of course, probably an lxdm bug.

On 2011-09-29 14:07, Bernard Decock wrote:
> Can't move English above Dutch ... I have to move Dutch below
> English.

Well, it's possible, but you may need to fiddle with it a bit. ;-)

> Log out : Login-screen is still in dutch (is this normal?)

No. That's a bug as well.


I changed the summary and description of this bug report to reflect these conclusions. Please let us know if there is anything with the new wordings you don't agree on.

Can you confirm that it's lxdm you use as login manager, and do you
possibly know if lxdm will be the default dm in the Lubuntu 11.10
release?

** Package changed: language-selector (Ubuntu) => lxdm (Ubuntu)

** Changed in: lxdm (Ubuntu)
       Status: Incomplete => Confirmed

-- 
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/857326

Title:
  Display language not set properly in Lubuntu

Status in LXDE - Lightweight X11 Desktop Environment:
  New
Status in “lxdm” package in Ubuntu:
  Confirmed

Bug description:
  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
  SourcePackage: lxdm
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.lxdm.lxdm.conf: 2011-09-02T16:01:26.397322

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