Link to Google's translation and dictionary API
example for,
when user key in "arrest" in google translation, then google translator will be served "vocabulary" not translation.
like attached a captured image.
also this Link project including a target language optionally.
usage language : over PHP 5.0