Register gettext callables for the jinja2 renderer