Translations are not shipped
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_
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/
/usr/share/
[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
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 12 lines (+1/-1)1 file modifiedcmake/Translations.cmake (+1/-1)
- PS Jenkins bot: Pending (continuous-integration) requested
- Ted Gould: Pending requested
- In: Pending requested
-
Diff: 1 lines (+0/-0)0 files modified
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- In: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedcmake/Translations.cmake (+1/-1)
description: | updated |
tags: | added: touch-cn |
Changed in indicator-location (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Charles Kerr (charlesk) |
status: | New → In Progress |
Changed in indicator-session (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Charles Kerr (charlesk) |
importance: | Undecided → High |
Changed in indicator-session (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in indicator-session (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → Medium |
description: | updated |
Adding indicator-session to this ticket, since it's using the same broken cmake ruleset.