How can I get a translated string, e.g. English to Spanish, from Google Translate with some command line tools like curl? I looked at the page source but Google Translate doesn't seem to include the translation result in its html source even though the result is rendered on the screen. So
didn't work--just gave me the html source that doesn't have either original string or translated one. And I heard that their API was not free so I don't want to use it. I hear that there's also Microsoft's translation service, but I'd like to stick to Google's if possible.