Not that I'm 100% sure, but I saw this site that used babelfish to translate... it was called lost in translation, it translated back and forth till the word was nothing like it was when it started.
All that does is send the form data to the site and then... well... it gets it back by opening the URL or something..
I dunno, I did it once...
Um
Ask one of these if you think that you could use google or babelfish, its way over my head.
Ok, to use babelfish, you would use fopen() to open up http://babelfish.altavista.com/tr?trtext=text%20string&lp=ja_en
And then parse the html data that you get back!? If you comprehend that...