Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Change language
Qt 6.12 LTS is out! See what's new in the release blog

Change language

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 322 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.
  • M Offline
    M Offline
    Mihaill
    wrote on last edited by Mihaill
    #1

    Hi.
    I use Qt 5.15
    I can change language in my app

    m_qtLanguageTranslator.load(m_arrLanguages[index]->m_file); 
    qApp->installTranslator(&m_qtLanguageTranslator); 
    

    And if the frame has not been rendered before, then the language changes. But if the frame was rendered, then the language remains old. How do I change the language on an already rendered frame?

    M 1 Reply Last reply
    0
    • M Mihaill

      Hi.
      I use Qt 5.15
      I can change language in my app

      m_qtLanguageTranslator.load(m_arrLanguages[index]->m_file); 
      qApp->installTranslator(&m_qtLanguageTranslator); 
      

      And if the frame has not been rendered before, then the language changes. But if the frame was rendered, then the language remains old. How do I change the language on an already rendered frame?

      M Offline
      M Offline
      Mihaill
      wrote on last edited by
      #2

      @Mihaill me help QQmlApplicationEngine::retranslate()

      1 Reply Last reply
      0
      • M Mihaill has marked this topic as solved on

      • Login

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