Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Translate Installer Framework for unsupported language
Qt 6.11 is out! See what's new in the release blog

Translate Installer Framework for unsupported language

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 283 Views 1 Watching
  • 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.
  • H Offline
    H Offline
    huseyinkozan
    wrote on last edited by
    #1

    Hi,

    translation directory does not have my language. How can I add translations at script side ?

    I tried giving context to qsTranslate() like this at main component:

    function Component()
    {
      qsTranslate("QInstaller::IntroductionPage", "&Quit");
    }
    

    But it works only if I first go with next, and return with Back. Also tried to add texts to retranslateUi() but no luck:

    Component.prototype.retranslateUi = function()
    {
      qsTranslate("QInstaller::IntroductionPage", "&Quit");
    }
    

    My related sof answer is here.

    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