** Summary changed:

- qmake template doesn't handle intltool translation
+ fix i18n integration in qmake template

** Description changed:

- cmake template have some support in po/CMakeLists.txt, using intltool
+ In addition to bug #1443351 for desktop file translations, other issues
+ plague this template:
  
- We should generate po and refresh .pot files for qml, js and desktop files as 
in the cmake template.
- The release mode should generate the .mo file so that "click build"  can ship 
them
+ * if you rename the hook (which we do know by default), the qml, js files are 
not taken for translation. This is due to, in the .pro:
+     $$files(app/*.qml,true) \
+     $$files(app/*.js,true)
+ with "app" being hardcoded.
+ Note as well that the same issue exists below for unit and autopilot tools 
test.
+ 
+ * template.pot is then created, this one should rather be:
+ - <appdomain name>.pot
+ - charset should be set to "UTF-8" (otherwise, this trigger an error when 
merging back)
+ 
+ * .mo files are only created when you run manually qmake . && make, not
+ when you run your application. Maybe it should be hooked in at some
+ point in the release process?

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

Title:
  fix i18n integration in qmake template

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1481325/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to