ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #01165
[Bug 1317772] Re: Translations no longer loaded from click packages
** Changed in: ubuntu-ui-toolkit
Status: Fix Committed => Fix Released
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1317772
Title:
Translations no longer loaded from click packages
Status in Ubuntu UI Toolkit:
Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Fix Released
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1317772/+subscriptions