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

Signed-off-by: Hakan Bayindir <hakan.bayindir@tubitak.gov.tr>