Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to generate .qm files from .ts files?
Qt 6.12 LTS is out! See what's new in the release blog

How to generate .qm files from .ts files?

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

    I'm currently using the command "lrelease file.ts" but getting an error as "Der Befehl "lrelease" ist entweder falsch geschrieben oder konnte nicht gefunden werden." / "The command "lrelease" is either misspelled or could not be found."

    Can anyone help me with this?

    Pl45m4P 1 Reply Last reply
    0
    • P parthb

      I'm currently using the command "lrelease file.ts" but getting an error as "Der Befehl "lrelease" ist entweder falsch geschrieben oder konnte nicht gefunden werden." / "The command "lrelease" is either misspelled or could not be found."

      Can anyone help me with this?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @parthb

      Maybe you could write the error message in English too, so others can read what it's saying, or you post in the German section :)

      Have you tried lrelease.exe file.ts? Is everything else set up correctly?

      • https://doc.qt.io/qt-6/linguist-manager.html

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      P 1 Reply Last reply
      0
      • Pl45m4P Pl45m4

        @parthb

        Maybe you could write the error message in English too, so others can read what it's saying, or you post in the German section :)

        Have you tried lrelease.exe file.ts? Is everything else set up correctly?

        • https://doc.qt.io/qt-6/linguist-manager.html
        P Offline
        P Offline
        parthb
        wrote on last edited by
        #3

        @Pl45m4 yes, I tried it before and got the same error. Referred this docs- https://docs.qgis.org/3.22/en/docs/pyqgis_developer_cookbook/plugins/plugins.html#translation as I'm working with QGis Plugin which involves Qt.

        jsulmJ 1 Reply Last reply
        0
        • P parthb

          @Pl45m4 yes, I tried it before and got the same error. Referred this docs- https://docs.qgis.org/3.22/en/docs/pyqgis_developer_cookbook/plugins/plugins.html#translation as I'm working with QGis Plugin which involves Qt.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @parthb said in How to generate .qm files from .ts files?:

          yes, I tried it before and got the same error

          Then try with absolute path to lrelease.exe

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          P 1 Reply Last reply
          0
          • jsulmJ jsulm

            @parthb said in How to generate .qm files from .ts files?:

            yes, I tried it before and got the same error

            Then try with absolute path to lrelease.exe

            P Offline
            P Offline
            parthb
            wrote on last edited by
            #5

            @jsulm Can you let me know where can I get lrelease Installation setup?

            jsulmJ 1 Reply Last reply
            0
            • P parthb

              @jsulm Can you let me know where can I get lrelease Installation setup?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @parthb said in How to generate .qm files from .ts files?:

              Can you let me know where can I get lrelease Installation setup?

              In your Qt installation

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              P 1 Reply Last reply
              0
              • jsulmJ jsulm

                @parthb said in How to generate .qm files from .ts files?:

                Can you let me know where can I get lrelease Installation setup?

                In your Qt installation

                P Offline
                P Offline
                parthb
                wrote on last edited by
                #7

                @jsulm I'm working with QGis plugin and it has it's own Qt designer from Qt. Have you worked with OSGeo4W command prompt before?

                jsulmJ 1 Reply Last reply
                0
                • P parthb

                  @jsulm I'm working with QGis plugin and it has it's own Qt designer from Qt. Have you worked with OSGeo4W command prompt before?

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @parthb said in How to generate .qm files from .ts files?:

                  Have you worked with OSGeo4W command prompt before?

                  No

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  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
                  • Unsolved