« Posts tagged google

Google translate with PhantomJS

PhantomJS is a headless browser which is controlled by Java Script statements.

Here is a small sample for using Google translate:

Save this code as gtranslate.js and put jquery.min.js within the same directory.