translation fix in translate.py