Don't get the translations every time a template is rendered. Issue: #511