Add internationalization support to webapp templates

Bug #1379693 reported by David Planella
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu HTML5 UI SDK
Confirmed
Wishlist
Unassigned
qtcreator-plugin-ubuntu (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

In order to make it easy for developers to internationalize their webapps, we should add full i18n support in the templates. This should include:

- Ensure the desktop file is set up for translations
- Add the required CMake rules to extract translatable messages and build translations
- (Optional) add a README.translations file explaining some concepts about managing translations

Adding the CMake rules is relatively trivial. The following MP should help with an example of what's needed. An alternative would be to create a .cmake module that all applications can reuse.

https://code.launchpad.net/~dpm/libqtelegram/i18n/+merge/236284

Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → David Barth (dbarth)
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
assignee: nobody → David Barth (dbarth)
importance: Undecided → Critical
status: New → Confirmed
Zoltan Balogh (bzoltan)
no longer affects: qtcreator-plugin-ubuntu
David Barth (dbarth)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
assignee: David Barth (dbarth) → nobody
importance: Critical → Medium
Changed in ubuntu-html5-theme:
status: New → Confirmed
importance: Undecided → Critical
importance: Critical → Medium
Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Benjamin Zeller (zeller-benjamin) wrote :

We are going to move the pure qml projects over to qmake. I wonder if we should do the same for the HTML projects.
There is no gain from having the htmlproject type other than providing custom buildsteps, but if we would use
qmake the install target can handle all those things and translation steps can easily be added.

David Barth (dbarth)
Changed in ubuntu-html5-theme:
importance: Medium → Wishlist
Changed in qtcreator-plugin-ubuntu (Ubuntu):
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.