C

TranslationFiles.files

Adds the list of the translations files.

Description

This property can be used to list all the translation files (.ts) to be added.

Usage

This property is accepted in any context where its parent node is accepted. It takes a list of non-empty strings.

Code example:

TranslationFiles {
    files: ["assets/values/strings_de_DE.ts"]
}

Since

This property was introduced in QmlProject API 1.3 .

Available under certain Qt licenses.
Find out more.