Add gettext hooks in the templates