The Translator object is used to translate strings into a given language. Available languages can be found in the Application.Language enumeration. The translation file consists of tab separated columns. The first column contains an ID followed by the translated strings to the supported language.

The Translator is connected to the languageChanged signal of Application. Each ID in the translation file is propagated to the root context.

› Inherits:Object



This property holds the file name and path of the translation file relative to the application.

› Type:String
› Default:translations.csv
› Signal:fileChanged()
› Attributes:Writable