Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Translation files of aboutQt()

    General and Desktop
    2
    3
    79
    Loading More Posts
    • 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.
    • SeDi
      SeDi last edited by

      Hi,
      I need a translated version of the text that comes with QMessageBox::aboutQt().

      The English version is easily copyable from QMessageBox' source code, but I didn't find any translation files for it. Of course I could translate it myself (at least into my mother tongue) and it would probably end up not that bad, but with legal matters I'd like to get the wording correct.

      Any ideas where to get the translation files? Or a usable "aboutQt" text in different languages?

      eyllanesc 1 Reply Last reply Reply Quote 0
      • eyllanesc
        eyllanesc @SeDi last edited by eyllanesc

        @SeDi Use some qtbase_xx.ts from https://code.qt.io/cgit/qt/qttranslations.git/tree/translations , change the .xx for the locale you want to translate to, change the .ts using QtLinguist, generate the .qm and paste it in the translations folder of your Qt installation. If it is a new language, also copy some qt_xx.ts, make the necessary changes, generate the .qm and copy it to the Qt translations folder. Also see this post: https://stackoverflow.com/questions/43638680/qt-use-builtin-translations

        If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

        1 Reply Last reply Reply Quote 3
        • SeDi
          SeDi last edited by

          Thank you very much, @eyllanesc ! That did solve my case on the spot. Interestingly in a direction, I wouldn't have thought.
          The file qtbase_de.ts states clearly:

          <extracomment>Leave this text untranslated or include a verbatim copy of it below and note that it is the authoritative version in case of doubt.</extracomment>
          

          So I will just do as proposed and not translate it.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post