Qt/translations

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "==Providing the Translations== First, add each language file to the <code>TRANSLATIONS</code> variable: <source lang="text"> TRANSLATIONS = myApp_en.ts \ myApp_...")

Revision as of 15:03, 11 June 2012

Providing the Translations

First, add each language file to the TRANSLATIONS variable:

TRANSLATIONS = myApp_en.ts \
               myApp_fr.ts


Run lupdate on the project:

lupdate myApp.pro


Provide the translations:

linguist *.ts


Release the translations:

lrelease myApp.pro
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox