The Ubuntu Touch QtCreator plugin exposes a "Translations" tool that has two 
options:
 1) Export ".pot" File
 2) Generate ".mo" File

The first option invokes xgettext with the following arguments:

    xgettext -o messages.pot --qt --c++ --add-comments=TRANSLATORS
--keyword=tr %PROJECTFILES%

The second option invokes msgfmt.

So it doesn’t use intltool, but it could if it supported passing
xgettext extra keywords (or if we patched xgettext to recognize "tr" by
default).

The alternative, if I understand it correctly, would be to add a
"$domain.pot" target to the make rules (need to investigate how to do
that with cmake). Is that correct?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181183

Title:
  Add support for the Ubuntu SDK apps to dh_translations

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgbinarymangler/+bug/1181183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to