Update i18n.py

made changes to pass tests