← Back to team overview

desktop-packages team mailing list archive

[Bug 396414] Re: When KDE or gnome apps get installed, the corresponding language-packs should be pulled automatically

 

This bug was fixed in the package language-selector - 0.62

---------------
language-selector (0.62) precise; urgency=low

  [ Colin Watson ]
  * data/pkg_depends:
    - Replace ttf-arphic-uming with fonts-arphic-uming.

  [ Martin Pitt ]
  * data/pkg_depends: Drop usage of '|'. It unnecessarily complicates the
    logic, does not add any expressiveness, and was only used once anyway.
  * data/pkg_depends: Add generic language-pack- pattern (without a trigger
    package), so that we do not need to special-case it in the code.
  * Add language_support_pkgs.py and tests/test_language_support_pkgs.py:
    Complete rewrite of the check-language-support and
    LanguageSelector/CheckLanguageSupport.py functionality. The old code was
    terrible and hard to maintain, the new one now makes it very easy to
    integrate into installers or an aptdaemon plugin and does not have any
    dependencies to any of the old language-selector code (which will
    eventually be dropped).
  * check-language-support: Rewrite using language_support_pkgs. CLI API stays
    the same.
  * setup.py, debian/language-selector-common.install: Install
    language_support_pkgs.py.
  * language_support_pkgs.py: Add apt_cache_add_language_packs() function
    which uses LanguageSupport to mark all corresponding language support
    packages for installation for an apt.Cache() object with to-be-installed
    packages. This is a suitable function to use as an aptdaemon plugin.
  * setup.py, debian/rules: Move to python-setuptools, as we are going to need
    it for registering an aptdaemon plugin through "entry_points". Add
    python-setuptools build dependency.
  * setup.py, debian/language-selector-common.install: Register
    apt_cache_add_language_packs as aptdaemon "modify_cache_after" plugin and
    install this package's egg-info.  With this, installing a new package
    through aptdaemon (i. e.  software-center or any other desktop
    integration) will automatically install the corresponding language packs
    and support packages as well.  (LP: #396414)
 -- Martin Pitt <martin.pitt@xxxxxxxxxx>   Thu, 26 Jan 2012 16:20:53 +0100

** Branch linked: lp:language-selector

** Changed in: language-selector (Ubuntu Precise)
       Status: In Progress => Fix Released

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

Title:
  When KDE or gnome apps get installed, the corresponding language-packs
  should be pulled automatically

Status in One Hundred Paper Cuts:
  Invalid
Status in Ubuntu Translations:
  Triaged
Status in “aptdaemon” package in Ubuntu:
  Won't Fix
Status in “language-selector” package in Ubuntu:
  Fix Released
Status in “language-selector” source package in Precise:
  Fix Released

Bug description:
  When you install ubuntu and you have chosen a certain language, it
  should install also the package language-pack-kde-?? (where ??=your
  country letters, for example es for spanish). I think that it should
  be on obiquity. It is very unlikely for an new user to find the
  language-pack-kde-?? from Synaptic so he can install it.

  The problem appears if a user installs a kde application, lets say
  kturtle. There is no way of installing the language support for an kde
  application.

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