← Back to team overview

touch-packages team mailing list archive

[Bug 1318980] Re: Translations are not shipped

 

Verified in Trusty.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  Translations are not shipped

Status in indicator-location package in Ubuntu:
  Fix Released
Status in indicator-session package in Ubuntu:
  Fix Released
Status in indicator-session source package in Trusty:
  Fix Committed

Bug description:
  [Impact]

  The current indicator-location package does not seem to ship the built
  translations (.mo files) from the translation sources (.po files) it
  contains in the source tree. As such, its messages appear in English
  regardless of the locale selected.

  It seems that the installation does not correctly build them and does
  not put them in

  $LOCALE_DIR/LC_MESSAGES/$LANG/$INDICATOR_NAME.mo

  Where $LOCALE_DIR is /usr/share/locale and $LANG is the ISO-639
  language code for each locale.

  Instead, it installs a single .mo file in the wrong location:

  $ dpkg -L indicator-location
  [...]
  /usr/share/locale
  /usr/share/locale/LC_MESSAGES
  /usr/share/locale/LC_MESSAGES/indicator-location.mo

  [Test Case]

  Change the session locale to a non-English one through System Settings
  -> Lanuage Support.  Log in to a Unity 7 session and pull down the
  System Indicator.  The entries should be translated.

  [Regression Potential]

  It's possible this fix may not fix the translations.

  Some locales may have difficulty with the default character rendering
  engines and subsequently crash the Session Indicator.

  [Other Info]
   
  The translations already exist for this package, but are being installed incorrectly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-location/+bug/1318980/+subscriptions