C

Qt Quick Ultralite translation Example

import QmlProject 1.3

Project {
    mainFile: "translation.qml"

    MCU.Config {
        Experimental.mergeStaticTextGlyphs: false // Disable due to using rich text in the StaticText item
    }

    ImageFiles {
        files: [
            "latvia-flag-small.png",
            "latvia-flag-small-icon.png"
        ]
    }

    TranslationFiles {
        files: ["translation.lv_LV.ts"]
        MCU.omitSourceLanguage: true
    }

    // Qul ships some default fonts. Since they don't contain glyphs for
    // all the characters that are needed for this application,
    // add some extra fonts.
    FontFiles {
        files: [
            "fonts/kosugi/Kosugi-Regular.ttf",
            "fonts/sarabun/Sarabun-Regular.ttf"
        ]
    }

    ModuleFiles {
        MCU.qulModules: ["Controls"]
        files: ["translation_fontconfig_static.qmlproject"]
    }
}