Corrections for translate.
Catching bug reported by wheein on GitHub