Translations no longer loaded from click packages

Bug #1317772 reported by David Planella
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
High
Cris Dywan
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
New
Undecided
Unassigned

Bug Description

While testing translations for the MAE show, I noticed that no translations are loaded for core apps. This had been fixed a while ago as part of bug 1233071, and worked quite well for a while too.

At some point (not exactly sure when) it regressed and we're no longer loading the translations, thus all click apps with translations appear in English.

To rule out the fact that translations were not installed, the following commands on my system show that we are shipping translations for both the preinstalled click package and for updates from the store, and that the translations exist and are complete for the 'ca' locale, with which I did the test.

$ msgunfmt /usr/share/click/preinstalled/com.ubuntu.weather/current/share/locale/ca/LC_MESSAGES/com.ubuntu.weather.mo
$ msgunfmt /opt/click.ubuntu.com/com.ubuntu.weather/current/share/locale/ca/LC_MESSAGES/com.ubuntu.weather.mo

My hunch would be that we're no longer pre-setting i18n.textdomain to look at @{CLICK_DIR}/@{APP_PKGNAME}/@{APP_VERSION}/locale to load the translations from first.

Tags: touch-cn

Related branches

David Planella (dpm)
tags: added: touch-cn
David Planella (dpm)
description: updated
David Planella (dpm)
description: updated
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Christian Dywan (kalikiana)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: Confirmed → Fix Committed
David Planella (dpm)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → 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.