Translates a string into another language using Google's translate API JSON calls.