Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to translate Next, Quit, Cancel & Finish Buttons in the Qt Wizard ? (Qt Installer Framework based)
QtWS25 Last Chance

How to translate Next, Quit, Cancel & Finish Buttons in the Qt Wizard ? (Qt Installer Framework based)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 1.2k 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.
  • J Offline
    J Offline
    julia_f
    wrote on last edited by
    #1

    Hello all,

    I would like to translate my installer wizard (Qt Installer Framework based) in French (OS language depends).

    I added those lines in the "installscript.qs" file :

    Component.prototype.retranslateUi = function()
    {
        component.languageChanged();
    }
    

    and I added those lines in the "config.xml" file :

    <Installer>
        ...
        <Translations>
            <Translation>fr.qm</Translation>
        </Translations>
    </Installer>
    

    But everything is ok (all long texts are translated) (in French) but the buttons like "Next", "Cancel", "Quit" are not translated (see the screenshot) :

    alt text

    ps: I don't want to use C++ code. (only Script or Xml)

    raven-worxR 1 Reply Last reply
    0
    • J julia_f

      Hello all,

      I would like to translate my installer wizard (Qt Installer Framework based) in French (OS language depends).

      I added those lines in the "installscript.qs" file :

      Component.prototype.retranslateUi = function()
      {
          component.languageChanged();
      }
      

      and I added those lines in the "config.xml" file :

      <Installer>
          ...
          <Translations>
              <Translation>fr.qm</Translation>
          </Translations>
      </Installer>
      

      But everything is ok (all long texts are translated) (in French) but the buttons like "Next", "Cancel", "Quit" are not translated (see the screenshot) :

      alt text

      ps: I don't want to use C++ code. (only Script or Xml)

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @julia_f
      did you read this?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      raven-worxR 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @julia_f
        did you read this?

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        closed, due to double post.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0

        • Login

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