Add translations for the reference and update the template.