C

TranslationFiles.directory

Adds a directory containing the translation files.

Description

This property can be used to add a directory containing the translation files (.ts). If the translation files are spread across more than one directory, list each directory separately using an InterfaceFiles node.

Note: The directory node can be combined with the files node in a InterfaceFiles node. This property might be removed from future releases. Prefer explicit inclusion of files using the files property.

Warning: Translation files placed in subdirectories are not included.

Usage

TranslationFiles {
    directory: "mytranslations"
}

Since

This property was introduced in QmlProject API 1.3 .

See also TranslationFiles.files.

Available under certain Qt licenses.
Find out more.