added localization to error message using gettext function and nunjucks