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. General question about the retranslate function when loading in .ui from Qt Designer
Forum Updated to NodeBB v4.3 + New Features

General question about the retranslate function when loading in .ui from Qt Designer

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 206 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.
  • J Offline
    J Offline
    Jonikles
    wrote on last edited by
    #1

    Is this supposed to make the text relevant to that widget translatable?
    If so, how can I use that function?

    I've searched online and I can't seem to find that much about it or at least information that is clear and recent.

    Thanks!

    SGaistS 1 Reply Last reply
    0
    • J Jonikles

      Is this supposed to make the text relevant to that widget translatable?
      If so, how can I use that function?

      I've searched online and I can't seem to find that much about it or at least information that is clear and recent.

      Thanks!

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Yes it does.

      It's called automatically when you load a new translator.

      If you want to implement something similar for a non Designer based widget, see the Prepare for language changes chapter in Qt's documentation.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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