Qt Installer Framework Turkish Language Support

  • Hello Everybody,
    I have created a setup by using Qt Installer Framework. I think it doesn't have Turkish language support. I tried to recompile with Turkish language support by downloading from github and applying steps in this file.
    My development environment.
    Qt 5.9.2 static MSVS2015 32 bit
    Windows 10 64 bit operation system.

    I have a problem at step 4 in readme file.

    Result from command "nmake qmake"

    Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
    Copyright (C) Microsoft Corporation.  All rights reserved.
    Project WARNING: No Qt translation for 'tr'; skipping.
    Project WARNING: No Qt translation for 'tr'; skipping.
    Project WARNING: No Qt translation for 'tr'; skipping.

    What is it the right way to do this?

    I really appreciate any help you can provide.

  • @CKurdu

    Possibly a stupid question, but you did generate a translations/tr.ts file populated with the turkish translations?

  • @koahnig Yes, I did it.

  • In sdk.pro file, there are code lines like below,

     for (file, IB_TRANSLATIONS) {
            lang = $$replace(file, .*/([^/]*)\\.ts, \\1)
            qfile = $$[QT_INSTALL_TRANSLATIONS]/qtbase_$${lang}.qm
            !exists($$qfile) {
                qfile = $$[QT_INSTALL_TRANSLATIONS]/qt_$${lang}.qm
                !exists($$qfile) {
                    warning("No Qt translation for '$$lang'; skipping.")

    If I understand true, we need a translation file that has name qtbase_tr.qm and this file should be in translation directory that is in my qt static built kit path. So maybe a silly question but Should I also translate all qt project into the Turkish language to translate QIFW into the Turkish language?

  • I copied qt_en.qm and pasted into the SDK translation directory as qt_tr.qm. Command worked. So I think I also need qt SDK translation.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.