fix gettext initialization