Translations are not shipped

Bug #1318980 reported by David Planella
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-location (Ubuntu)
Fix Released
High
Charles Kerr
indicator-session (Ubuntu)
Fix Released
High
Charles Kerr
Trusty
Fix Released
Medium
Unassigned

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.

Related branches

David Planella (dpm)
description: updated
tags: added: touch-cn
Charles Kerr (charlesk)
Changed in indicator-location (Ubuntu):
importance: Undecided → High
assignee: nobody → Charles Kerr (charlesk)
status: New → In Progress
Revision history for this message
Charles Kerr (charlesk) wrote :

Adding indicator-session to this ticket, since it's using the same broken cmake ruleset.

Charles Kerr (charlesk)
Changed in indicator-session (Ubuntu):
status: New → In Progress
assignee: nobody → Charles Kerr (charlesk)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-location - 13.10.0+14.10.20140521-0ubuntu1

---------------
indicator-location (13.10.0+14.10.20140521-0ubuntu1) utopic; urgency=low

  [ Charles Kerr ]
  * Install translations into the correct directories. (LP: #1318980)
 -- Ubuntu daily release <email address hidden> Wed, 21 May 2014 15:27:34 +0000

Changed in indicator-location (Ubuntu):
status: In Progress → Fix Released
David Planella (dpm)
Changed in indicator-session (Ubuntu):
status: In Progress → Fix Released
Stephen M. Webb (bregma)
Changed in indicator-session (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → Medium
Stephen M. Webb (bregma)
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted indicator-session into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/indicator-session/12.10.5+14.04.20140925-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in indicator-session (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Stephen M. Webb (bregma) wrote :

Verified in Trusty.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for indicator-session has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-session - 12.10.5+14.04.20140925-0ubuntu1

---------------
indicator-session (12.10.5+14.04.20140925-0ubuntu1) trusty; urgency=low

  [ Charles Kerr ]
  * When logging out, prefer com.canonical.Unity.RequestLogout over
    org.gnome.SessionManager.Logout. (LP: #1296814)
  * Install translations into the correct directories. (LP: #1318980)

  [ Sergey "Shnatsel" Davidoff ]
  * Allow Pantheon as a valid show-in target. (LP: #1301699)
 -- Ubuntu daily release <email address hidden> Thu, 25 Sep 2014 15:07:42 +0000

Changed in indicator-session (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.