Move gettext() to global where it should be