PHP Translation script - Babelfish/Google

Discussion in 'Programming' started by Kadence, Jul 7, 2007.

  1. #1
    I'm looking for a PHP translation script from an experienced programmer, similar to the Wordpress Global Translator plugin (which I think uses SOAP): http://www.nothing2hide.net/wp-plugins/wordpress-global-translator-plugin/

    However I want something that is stand-alone, and does not require WordPress. It should be a script that can be easily included into an existing script using 'include', and where one can choose to translate either a string of text or a URL, translate either with Google or Babelfish, which language to translate from, which language to translate to.

    e.g. do_translate('some example text', $is_url=FALSE, 'Babelfish', 'en', 'de') would return 'etwas Beispieltext'.

    The script should check URLs for redirects and such like the Global Translator plugin does, as well as return an error if the language codes are invalid (depending on the translation engine chosen). If a URL is translated, it should fix the links.

    Post or PM your rates and experience, etc. as well as how long you estimate time to completion will be.
     
    Kadence, Jul 7, 2007 IP
  2. Scoding

    Scoding Well-Known Member

    Messages:
    1,091
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    pm me your msn we need to chat
     
    Scoding, Jul 8, 2007 IP
  3. gigapromoters

    gigapromoters Peon

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Can be done... PM Sent to you with my contact details.
     
    gigapromoters, Jul 8, 2007 IP
  4. Kadence

    Kadence Well-Known Member

    Messages:
    139
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Another requirement that I forgot to mention is that the function should be able to use authenticated proxies when connecting to the translation services. The input paramaters would be proxy ip, proxy port, and optionally username and password.
     
    Kadence, Jul 9, 2007 IP