Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Automated translation for your Qt applications

Automated translation for your Qt applications

Scheduled Pinned Locked Moved Showcase
5 Posts 3 Posters 5.5k 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.
  • J Offline
    J Offline
    JulienMaille
    wrote on 21 Jan 2012, 15:41 last edited by
    #1

    Dear all,
    you may have heard of Pepipopum: a php script that batch translates PO files using Google translate. The author, Paul Dixon, says:
    [quote] This may not be a ‘release quality’ translation, but does speed up the job of a real translator, who can simply proof read and correct the machine-translated entries.[/quote]
    A few months ago I started modding it so it could accept TS files.
    Unfortunately in the meantime Google decided to discontinue their free translation service.
    So this week I tuned the script to work with Bing engine. You can try it here: http://maille.tk/translate/index-curl.php

    Please use short .ts files as it currently works with my Bing api key that is limited to 2000tx per month.
    I carefully checked that strings containing html code and %1, %2 placeholders are not broken.
    If you have exotic strings that results in invalid TS files, please let me know.
    Source code is available, so if you modify this script, kindly share your enhancements in this topic.

    Thanks for watching!
    Merci pour votre attention !
    感谢收看!
    Danke fürs Zuschauen!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JulienMaille
      wrote on 23 Jan 2012, 13:16 last edited by
      #2

      Known issues:

      • the script won't translate strings with carriage return.
      • Japanese sometimes generate % symbole in place of %

      (I think that moving this thread in the showcase section will unfortunately result in far less replies that in the General section)

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on 23 Jan 2012, 13:42 last edited by
        #3

        [quote author="Julien M" date="1327324573"](I think that moving this thread in the showcase section will unfortunately result in far less replies that in the General section)[/quote]

        I am disagreeing with your statement. In my opinion it is more of a promotion. Whoever likes to use your script may have problems finding it in the general section lateron.

        From my point it is nice idea to do auto-translation. Unfortunately, I have no use of it at the time being. I am simply doing all in English. But this opens an opportunity for my future projects.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dimix
          wrote on 2 Dec 2012, 02:09 last edited by
          #4

          Hello Julien,

          Thank you for your nice utility. It works nicely for me.

          One suggestion: I believe that some of the users of your script (including me) will want to run it via the command line (as part of some external script (ie ant)). So I think it would be a nice idea to add some command line handling.

          Thanks again
          Dimitris

          http://physion.net

          1 Reply Last reply
          0
          • J Offline
            J Offline
            JulienMaille
            wrote on 11 Dec 2012, 17:18 last edited by
            #5

            I don't undestand how I could interface this online script with the command line. Do you have any clue how to do this?

            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