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. (SOLVED) Is there a way to show qApp->aboutQt in different languages?
Forum Updated to NodeBB v4.3 + New Features

(SOLVED) Is there a way to show qApp->aboutQt in different languages?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k 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.
  • S Offline
    S Offline
    svyatoslav911512
    wrote on last edited by
    #1

    Hello all,

    Is there a way to show qApp->aboutQt() in different languages? As I see many Qt applications can show aboutQt() using their locale, but I use Qt 5.3.2 and was able to show this message box only in English.
    Can anybody make it clear on how it actually works and how to show it on another locale? Appreciated your help.

    Thanks
    Svyatoslav

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You are looking for the "Internationalization with Qt" chapter for Qt's documentation. It explains all step needed to make your application translatable (also dynamically)

      Hope it helps

      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
      0
      • S Offline
        S Offline
        svyatoslav911512
        wrote on last edited by
        #3

        Hi SGaist,

        Yeah, that was quite easy. I'm was so inattentive and forgot to read documentation basics (was reading only Qt classes for internationalization). For all who forgot this too I'll leave just this simple note:

        "You have to load two translations for your application: one for your Ui and one for Qt subsystem you using"

        http://qt-project.org/doc/qt-5/internationalization.html

        It's solved now.

        Thanks
        Svyatoslav

        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