Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-971

Translating ControlScript and Default Pages is completely broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 2.0.0, 2.0.5, 3.1.0, 3.0.1
    • Fix Version/s: 4.1.0
    • Component/s: Translations
    • Labels:
      None
    • Environment:

      Description

      No matter what I try, the Strings in the Control Script and the modified Labels for the Default Pages do NOT show up in German. All qsTr Macros are set. The de.qm File contains the finalized String.

      The Strings in the Dynamic Pages work fine and also the German License_de.txt get displayed correctly - even when the Installer starts in English on System with locales set to de_DE or de.

      Very Strange:
      Some Pages are completely or partly in German but the Buttons are in English. The Label at StartMenuDirectoryPage i.e. is completely in english - and I have no modified Strings there!

      I also tried the Hack (or is this how it should be?) in this Comment of QtIFW-494
      with the result, that my TS File will always be loaded last but still dont work.

      The above try follows 1 Week of nerve wrecking Trial+Error, where I originally copied the "de.qm" File into the "config" Folder to call it from there, because the Documentation is telling me:

      Note: We recommend that you place all files that you refer to in the configuration file in the config directory. However, you can also use relative paths, which the tools resolve relative to the location of the config.xml file.
      
      From: /doc/html/ifw-globalconfig.html -> Summary of Configuration File Elements.
      

      But that did not work at all. Thats why I tried the above thing as well.

      Also I tried the following in the TS File:

      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE TS>
      <TS version="2.1" language="de">
      
      And the Default:
      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE TS>
      <TS version="2.1" language="de_DE">
      

      The important Part of the QtDiag.exe output:

      Qt 5.9.0 (x86_64-little_endian-llp64 static release build; by MSVC 2017) on "windows"
      OS: Windows 10 (10.0) [winnt version 10.0.15063]
      Architecture: x86_64; features: SSE2 SSE3
      
      File selectors (increasing order of precedence):
       de_DE windows winnt
      

      The latest updated Batch File Content with some Screenshots is in the Comment Section below.

      Thank You!

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              kamartti Katja Marttila
              Reporter:
              meermusik Oliver Niebuhr
              Votes:
              8 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes