C

Project.idBasedTranslations

This flag enables translation based on text ID.

Description

There are two types of translation mechanisms: plain text based translations or text ID based translations. If you set this flag to true, QmlProject Exporter will run the other tools to process the translation files with the text ID based translation system. The default translation system is the plain text based translations.

Usage

This property is accepted in the main application .qmlproject file, or a module .qmlproject file. It takes a boolean value.

Code example:

Project {
    idBasedTranslations: true
}

Since

This property was introduced in Qt for MCUs 2.6.

See also Internationalization and Localization with Qt Quick Ultralite.

Available under certain Qt licenses.
Find out more.