Automated translation for your Qt applications



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



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


  • Moderators

    [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.



  • 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



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.