Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Installer Framework Turkish Language Support

Qt Installer Framework Turkish Language Support

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 2 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CKurdu
    wrote on 15 Oct 2017, 04:48 last edited by CKurdu
    #1

    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.

    You reap what you sow it

    K 1 Reply Last reply 15 Oct 2017, 13:06
    0
    • C CKurdu
      15 Oct 2017, 04:48

      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.

      K Offline
      K Offline
      koahnig
      wrote on 15 Oct 2017, 13:06 last edited by
      #2

      @CKurdu

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

      Vote the answer(s) that helped you to solve your issue(s)

      C 1 Reply Last reply 15 Oct 2017, 13:10
      0
      • K koahnig
        15 Oct 2017, 13:06

        @CKurdu

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

        C Offline
        C Offline
        CKurdu
        wrote on 15 Oct 2017, 13:10 last edited by
        #3

        @koahnig Yes, I did it.

        You reap what you sow it

        1 Reply Last reply
        0
        • C Offline
          C Offline
          CKurdu
          wrote on 15 Oct 2017, 13:32 last edited by CKurdu
          #4

          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.")
                          next()
                      }
                  }
          

          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?

          You reap what you sow it

          1 Reply Last reply
          0
          • C Offline
            C Offline
            CKurdu
            wrote on 15 Oct 2017, 13:48 last edited by
            #5

            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.

            You reap what you sow it

            1 Reply Last reply
            0

            2/5

            15 Oct 2017, 13:06

            • Login

            • Login or register to search.
            2 out of 5
            • First post
              2/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved