gettext: add mock object for i18n