C

Qt Quick Ultralite translation Example

import QmlProject 1.3

Project {
        mainFile: "translation.qml"

        ImageFiles {
                files: [
                "japan-flag-small.png",
                "latvia-flag-small.png",
                "norway-flag-small.png",
                "saudi-arabia-flag-small.png",
                "thai-flag-small.png",
                "usa-flag-small.png"
                ]
        }

        TranslationFiles {
                files: [
                "translation.ar_SA.ts",
                "translation.ja_JP.ts",
                "translation.lv_LV.ts",
                "translation.nb_NO.ts",
                "translation.th_TH.ts"
                ]
        }

        // 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"]
        }
}