Fix in translate.py
Merge pull request #660 from nabinhait/v4-hotfix

Fix in translate.py