Fix the calls to the old getTranslation() and getAttributeTranslation() methods from SimpleSAML_XHTML_Template.