ubuntu-translations-coordinators team mailing list archive
-
ubuntu-translations-coordinators team
-
Mailing list archive
-
Message #02663
[Bug 951054] Re: Most of the Checkbox UI is not translatable
Al 09/03/12 20:28, En/na Daniel Manrique ha escrit:
> Hi David,
>
> I think the checkbox-gtk UI hasn't changed so we shouldn't have any
> regressions regarding the work done there.
>
> Could you confirm whether you're using the new qt-based UI instead? To
> test, the initial welcome screen has a "don't show me this message in
> the future" checkbox on the bottom right corner.
>
Hi Daniel,
Thanks for the quick reply.
I'm using whatever Precise is shipping by default, and by looking at the
UI, I'd say it's Qt-based.
Looking at the code, I understand why it's happening: the
'qt/checkbox-qt.ui' is missing from the po/POTFILES.in file.
So if we're going to be shipping the Qt-based UI, we should:
- Remove the '[type: gettext/glade] gtk/checkbox-gtk.ui' line, so that
translators don't waste efforts translating a UI we're not shipping
- Add a line for the qt/checkbox-qt.ui file (*), so that intltool picks
it up, extracts its strings, puts them in the .pot file and they can be
updated in Launchpad.
> If so, we could treat this as a "master bug" for making sure the new Qt-
> based UI both honors existing translations and exposes its internal
> strings (such as "System Testing" for bug 951025 - it's a string
> alright, but we don't use gettext apparently for it) so they can be
> localized.
>
Yeah, it seems existing translations from .py files are indeed loaded,
but none of the Qt ones are.
Cheers,
David.
(*) Having played a bit with it, I'm not too sure how to best add
qt/checkbox-qt.ui to po/POTFILES.in, as intltool does not seem to
support Qt .ui files. I'm sure I've seen a workaround somewhere, perhaps
marking it as a generic XML file, but after a quick test with
'intltool-update -p -g checkbox', it didn't seem to extract the strings
from the file.
> Thanks!
>
>
> ** Changed in: checkbox
> Status: New => Incomplete
>
> ** Changed in: checkbox
> Milestone: None => 0.13.5
>
--
David Planella
Ubuntu Translations Coordinator
www.ubuntu.com / www.davidplanella.wordpress.com
www.identi.ca/dplanella / www.twitter.com/dplanella
** Changed in: checkbox
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
https://bugs.launchpad.net/bugs/951054
Title:
Most of the Checkbox UI is not translatable
Status in Checkbox System Testing:
New
Status in Ubuntu Translations:
Triaged
Status in “checkbox” package in Ubuntu:
New
Bug description:
I started reporting bug 951025, but I think that one is probably just
part of a bigger bug.
It seems that most if not all of the Checkbox UI is not translatable,
or at least its translations are not exposed in Launchpad.
I can think of several causes:
- The checkbox.pot template is not up to date (this would explain translations not being in Launchpad)
- The Checkbox UI strings not being marked for translation (this would explain translations not being in Launchpad)
- The translation domain is not properly set in the code (this would explain translations not being loaded)
I think the first thing to determine is why are the UI strings not in
Launchpad.
I'm marking this bug as Critical from the translations side, as
Checkbox is an Ubuntu upstream app installed by default, and it needs
to keep up to the promise of an OS available in every user's language.
To manage notifications about this bug go to:
https://bugs.launchpad.net/checkbox/+bug/951054/+subscriptions
References