Updated gettext implementation for Python 3 version
Fixed bug in Python 2 version translations