gettext.py, but with more fast