major update of translation.py
Merge pull request #3 from SameerSarkar/master

major update of translation.py