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", "japan-flag-small-icon.png", "latvia-flag-small-icon.png", "norway-flag-small-icon.png", "saudi-arabia-flag-small-icon.png", "thai-flag-small-icon.png", "usa-flag-small-icon.png", ] } TranslationFiles { files: [ "translation.ar_SA.ts", "translation.ja_JP.ts", "translation.lv_LV.ts", "translation.nb_NO.ts", "translation.th_TH.ts" ] } FontFiles { files: [ "fonts/monotype/TranslationsSampleFontmap.fmp" ] } MCU.Config { fontEngine: "Spark" defaultFontFamily: "arabic-style-font" fontCacheSize: 1 // Disable the cache } ModuleFiles { MCU.qulModules: ["Controls"] files: ["translation_fontconfig_spark.qmlproject"] } }