Prototype gadget for client side translation

7 views
Skip to first unread message

Matt Foster

unread,
Nov 3, 2009, 3:13:29 PM11/3/09
to Prototype & script.aculo.us
Hey Everyone,

I've put the finishing touches on a JS based gadget to handle
site translation. It uses Prototype for class structure and element
collection etc and the Google Translate API to handle the actual text
translations. It handles all of the requests async style and never
reloads the page. Nor does it destructively handle node collection,
so all of your event handlers remain intact... Check it out

http://positionabsolute.net/blog/2009/10/google-translate-gadget-site-translation.php

Cheers,
Matt

Richard Quadling

unread,
Nov 4, 2009, 6:22:39 AM11/4/09
to prototype-s...@googlegroups.com
2009/11/3 Matt Foster <mattfo...@gmail.com>:
That looks very impressive. How accurate are the translations though?
Human translation still beats machine translation.

But, even with that, a very nice example!

--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

Matt Foster

unread,
Nov 4, 2009, 11:22:59 AM11/4/09
to Prototype & script.aculo.us
The actual translations are being powered by the Google Translate
API. I've only checked French and Spanish and they were quite
accurate, it might degrade in some of the edge languages.

Thanks for the support Richard, we'll see if it catches on







On Nov 4, 6:22 am, Richard Quadling <rquadl...@googlemail.com> wrote:
> 2009/11/3 Matt Foster <mattfoste...@gmail.com>:
>
>
>
>
>
> > Hey Everyone,
>
> >        I've put the finishing touches on a JS based gadget to handle
> > site translation.  It uses Prototype for class structure and element
> > collection etc and the Google Translate API to handle the actual text
> > translations.  It handles all of the requests async style and never
> > reloads the page.  Nor does it destructively handle node collection,
> > so all of your event handlers remain intact... Check it out
>
> >http://positionabsolute.net/blog/2009/10/google-translate-gadget-site...
Reply all
Reply to author
Forward
0 new messages