← Back to team overview

dx-packages team mailing list archive

[Bug 1861481] Re: language-options causes live CD sessions to be untranslated

 

Not sure why you would want to uninstall the language packs for a
language you have configured. You are not supposed to do that. Please
use "Language Support" to manage your languages.

This special thing in LightDM is there for a reason (even if I don't
remember the reason exactly). I'm not ready to propose something which
might have adverse side effects.

Attached please find a debdiff which I think fixes it in live sessions.
The real test can be done only after the new version of lightdm has
reached the daily build ISOs. Would appreciate your confirmation when
that happens.

** Patch added: "lightdm_lp1861481.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1861481/+attachment/5326214/+files/lightdm_lp1861481.debdiff

** Changed in: lightdm (Ubuntu)
   Importance: Undecided => Medium

** Changed in: lightdm (Ubuntu)
       Status: New => In Progress

** Changed in: lightdm (Ubuntu)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

** Tags added: patch

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1861481

Title:
  language-options causes live CD sessions to be untranslated

Status in accountsservice package in Ubuntu:
  Confirmed
Status in lightdm package in Ubuntu:
  In Progress

Bug description:
  Since Ubuntu 19.10, for all Ubuntu live CDs that use LightDM (e.g.
  MATE and Xubuntu), if a user selects a language in syslinux other than
  those with an included langpack, the session is then untranslated.

  For example, if one boots Ubuntu MATE 20.04 and selects Greek in
  syslinux, he ends up with LANGUAGE=en in the session.

  The chain of events is:
  LightDM has an Ubuntu-specific patch that makes it call /usr/share/language-tools/language-options instead of the upstream `locale -a`.
  `locale -a` does list el_GR as a supported locale because casper correctly updated the locales.
  But language-options doesn't list el_GR, so it fools LightDM into thinking that Greek aren't supported; while they're all there, since e.g. MATE doesn't rely on langpacks; mate-panel.mo and mate-calc.mo etc are all there.

  I believe the correct fix would be for language-options to list el_GR
  on live CDs (to merge the output of locale -a in its output).

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1861481/+subscriptions


References