Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Converting an xls file to .ts (Qt Linguist)
Forum Updated to NodeBB v4.3 + New Features

Converting an xls file to .ts (Qt Linguist)

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 3 Posters 1.8k 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.
  • A Offline
    A Offline
    Alt-stage
    wrote on last edited by
    #1

    Re: Howto export all texts to translate with QLinguist?
    I can import a file from QT Linguist (ts) to Excel normally. In excel, I can do many things I need in an automated way. Next, I need to upload the changed data back to the xml format of the ts file. Unfortunately, the XML file generated by excel is not readable by QT Linguist.

    Is there a way to adapt the XML modified in Excel (originally created in QT Linguist) to be imported back into QT Linguist?

    J.HilkJ 1 Reply Last reply
    0
    • A Alt-stage

      Re: Howto export all texts to translate with QLinguist?
      I can import a file from QT Linguist (ts) to Excel normally. In excel, I can do many things I need in an automated way. Next, I need to upload the changed data back to the xml format of the ts file. Unfortunately, the XML file generated by excel is not readable by QT Linguist.

      Is there a way to adapt the XML modified in Excel (originally created in QT Linguist) to be imported back into QT Linguist?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by J.Hilk
      #3

      @Alt-stage
      this should do:
      https://github.com/DeiVadder/QtPhrasebookUtilityTool

      its not perfect, but it supports export to csv and update(ts file) from csv.

      Feel free to improve the program :D


      actually.... let me check, that may be a feature of my local branch.
      ok, now added and can be found here:
      https://github.com/DeiVadder/QtPhrasebookUtilityTool/tree/csvExperimental


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


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

      A 1 Reply Last reply
      3
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @Alt-stage said in Converting an xls file to .ts (Qt Linguist):

        Is there a way to adapt the XML modified in Excel (originally created in QT Linguist) to be imported back into QT Linguist?

        For sure, but you have to do it on your own.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        0
        • A Alt-stage

          Re: Howto export all texts to translate with QLinguist?
          I can import a file from QT Linguist (ts) to Excel normally. In excel, I can do many things I need in an automated way. Next, I need to upload the changed data back to the xml format of the ts file. Unfortunately, the XML file generated by excel is not readable by QT Linguist.

          Is there a way to adapt the XML modified in Excel (originally created in QT Linguist) to be imported back into QT Linguist?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by J.Hilk
          #3

          @Alt-stage
          this should do:
          https://github.com/DeiVadder/QtPhrasebookUtilityTool

          its not perfect, but it supports export to csv and update(ts file) from csv.

          Feel free to improve the program :D


          actually.... let me check, that may be a feature of my local branch.
          ok, now added and can be found here:
          https://github.com/DeiVadder/QtPhrasebookUtilityTool/tree/csvExperimental


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


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

          A 1 Reply Last reply
          3
          • J.HilkJ J.Hilk

            @Alt-stage
            this should do:
            https://github.com/DeiVadder/QtPhrasebookUtilityTool

            its not perfect, but it supports export to csv and update(ts file) from csv.

            Feel free to improve the program :D


            actually.... let me check, that may be a feature of my local branch.
            ok, now added and can be found here:
            https://github.com/DeiVadder/QtPhrasebookUtilityTool/tree/csvExperimental

            A Offline
            A Offline
            Alt-stage
            wrote on last edited by
            #4

            @J-Hilk Thanks a lot! I'll try to use your solution

            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