add gettext support