Fix bug in translation cli: urlencode query string