Fixes Google Translate API calls by fixing an understood ternary
operator.

Signed-off-by: Hakan Bayindir <hakan.bayindir@tubitak.gov.tr>
No need to manipulate the protocol
Read redirect GET or POST parameter from each branch of the if/else condition
Nit: removed EOL extra whitespace