← Back to team overview

ubuntu-translations-coordinators team mailing list archive

Re: [Bug 951054] Re: Most of the Checkbox UI is not translatable

 

Al 09/03/12 21:34, En/na Tiago Salem Herrmann ha escrit:
> The following command will extract all the strings and put them into a ts file:
> lupdate-qt4 frontend.pro -ts strings.ts
>

Thanks Tiago for your suggestion. However, Launchpad uses gettext and 
cannot import .ts files.

> Another solution would be to compile the ui file into a cpp file and then extract the strings:
> uic-qt4 qtfront.ui>  ui_qtfront.cpp
>

If we cannot use intltool directly, this might be the way to go. So I 
guess we could put qt/ui_qtfront.cpp in POTFILES.in and make sure it is 
generated before intltool is executed. Then intltool would work as usual 
and put the messages from the .cpp file into the checkbox.pot file.

> the ui_qtfront.cpp is actually auto generated while compiling the qt
> frontend.
>

The Ubuntu One guys are also using a Qt frontend, and it might be worth 
talking to them to see how they're handling translations and share the 
knowledge and practices.

Cheers,
David.

-- 
David Planella
Ubuntu Translations Coordinator
www.ubuntu.com / www.davidplanella.wordpress.com
www.identi.ca/dplanella / www.twitter.com/dplanella

-- 
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