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. How to use Language manager in Qt...
QtWS25 Last Chance

How to use Language manager in Qt...

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 1.6k 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.
  • P Offline
    P Offline
    prabhatjha
    wrote on last edited by
    #1

    Hello Everyone, I made a web browser in Qt ...
    Its working fine and now i want to add language manager in this.
    But i have no more idea about language manager .
    I did lots of google and i got there are two tools Iupdate and IRelease that covert our file in .ts.
    but i din't get step by step solution please help me how to do this.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Checdk out the documentation: "link":http://doc.qt.io/qt-5/qtranslator.html and "link":http://doc.qt.io/qt-5/internationalization.html.

      (Z(:^

      1 Reply Last reply
      0
      • P Offline
        P Offline
        prabhatjha
        wrote on last edited by
        #3

        Thanks @sierdzio for reply ..but plzz tell me how to generate .ts file for hindi and other local indian language...

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Add the languages you need to "TRANSLATIONS":http://doc.qt.io/qt-5/qmake-variable-reference.html#translations variable in qmake

          Run lupdate to create those TS files

          Open those TS files in Linguist application, translate them

          Click "release" in Linguist or run lrelease to generate QM files

          Use those QM files in your application to enable translations (using QTranslator)

          (Z(:^

          1 Reply Last reply
          0
          • P Offline
            P Offline
            prabhatjha
            wrote on last edited by
            #5

            Thank u so much @sierdzio..:)
            U r doing very good job ..thanx a lot

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              You are welcome, and thank you. Happy coding!

              (Z(:^

              1 Reply Last reply
              0
              • P Offline
                P Offline
                prabhatjha
                wrote on last edited by
                #7

                how to create Iupdate and Irelease if there are some video tutorial plzz provide the link...Thanks

                1 Reply Last reply
                0
                • sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #8

                  [quote author="prabhatjha" date="1419343470"]how to create Iupdate and Irelease[/quote]

                  What do you mean? Those binaries are bundled with every Qt installation, and are compiled by default when building from source.

                  The process of creating translations is well described in the documentation + in the official Qt book.

                  For videos - I don't know. Try voidrealms on YouTube - this guy has created hundreds of tutorials for Qt and a lot of people say they are very well made.

                  (Z(:^

                  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