← Back to team overview

touch-packages team mailing list archive

[Bug 1446212] Re: Support installing localization data from click packages

 

Would it be possible to add symbolic links to /usr/share/locale? Short
of that we probably need to set TEXTDOMAIN in the environment, as I'm
not aware of any API call that allows changing the default search
directory.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Incomplete

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Christian Dywan (kalikiana)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu
in Ubuntu.
https://bugs.launchpad.net/bugs/1446212

Title:
  Support installing localization data from click packages

Status in apparmor-easyprof-ubuntu package in Ubuntu:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Incomplete

Bug description:
  It would be nice if it were possible to add support to a new language/locale by just installing a click package.
  This would have several benefits:
  1) People could easily add support for non officially supported languages
  2) Languages would be updated independently from the system image
  3) Some space could be freed from the image, if some languages get moved to click packages

  I'm entering this bug against ubuntu-ui-toolkit, because I guess it
  would need some change to get the correct path where translations are
  installed (it now calls bindtextdomain with /usr/share/locale, while
  it should fallback to ~/.local/share/locale/ if the language does not
  exist in the system path), but there surely are other projects that
  would need to be changed.

  For sure, we would need a click hook to move the translations in
  ~/.local/share/locale/, as well as changes to the apparmor policy to
  read from that directory.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1446212/+subscriptions


References