Adds configurable translation to HTML element for error pages, refs #9633