Update translate.py