Qt Forum

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

    Solved Translate Qt App without QtLinguist

    General and Desktop
    3
    6
    114
    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.
    • ivanicy
      ivanicy last edited by

      Hello!!

      I am developing an app that I want it to be translated. I was working with QtLinguist but I have a problem with that. The problem is that I want a third person to translate it for me but I don't want that this person see my code.

      Is there an option to do this keeping the code safe?

      Thank you very much!

      J.Hilk 1 Reply Last reply Reply Quote 0
      • Christian Ehrlicher
        Christian Ehrlicher Lifetime Qt Champion last edited by

        @ivanicy said in Translate Qt App without QtLinguist:

        but I don't want that this person see my code.

        Then just give him the .ts-files.

        Qt has to stay free or it will die.
        Online Installer direct download: https://download.qt.io/official_releases/online_installers/

        1 Reply Last reply Reply Quote 0
        • J.Hilk
          J.Hilk Moderators @ivanicy last edited by

          @ivanicy I think I know where your confusion comes from,

          you load the ts files that are still in your project directory. QtLinguist is smart enough to search that directory for source code, to display that in the info window.

          If you copy the ts files somewhere else, you won't have that problem.

          Also shameless plug, my PhrasebookUtilityTool has in the beta version a save/read/patch with csv feature. Sadly thats still somewhat buggy, and therefore not yet in the repo :D

          But coming soon™️, when I find the time the fix the bugs.

          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct

          Qt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply Reply Quote 1
          • ivanicy
            ivanicy last edited by

            Thank you very much guys! I have a last question for you.

            If I want to go back to english I have to create a new file or is it enough to remove the translator?
            (Obviously, my app is written in english by default)

            Thank you very much!

            1 Reply Last reply Reply Quote 0
            • Christian Ehrlicher
              Christian Ehrlicher Lifetime Qt Champion last edited by

              Just remove the translator but I would also provide a english - english translation so e.g. abbreviations used in code can be properly expanded (or e.g. utf-8 stuff which may not be properly encoded on windows etc)

              Qt has to stay free or it will die.
              Online Installer direct download: https://download.qt.io/official_releases/online_installers/

              ivanicy 1 Reply Last reply Reply Quote 3
              • ivanicy
                ivanicy @Christian Ehrlicher last edited by

                @Christian-Ehrlicher Thank you very much!

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