ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #01889
[Bug 1379689] Re: Add internationalization support to QML app templates
** Changed in: qtcreator-plugin-ubuntu
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1379689
Title:
Add internationalization support to QML app templates
Status in Qt Creator plugins for Ubuntu:
Fix Released
Status in “qtcreator-plugin-ubuntu” package in Ubuntu:
Fix Released
Bug description:
In order to make it easy for developers to internationalize their
apps, we should add full i18n support in the templates. This should
include:
- Ensure all strings are wrapped in i18n.tr() calls
- Add the required CMake rules to extract translatable messages and build translations (see [1])
- (Optional) add a README.translations file explaining some concepts about managing translations (see [1])
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.
This document [2] illustrates the translation workflow.
[1] https://code.launchpad.net/~dpm/libqtelegram/i18n/+merge/236284
[2] https://docs.google.com/a/canonical.com/document/d/12fEDKGVlNAkeXQyNXUM8JcekYwfvN7brRG5m5a0a4Dk/edit#heading=h.vbkzlk3ri2wg
To manage notifications about this bug go to:
https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1379689/+subscriptions