First go back to the Profile model and change the attribute field from new_field to shoe_size and add _('Shoe size') as verbose_name. Your code should now look like this:
.......class Profile(models.Model): """This class holds extra information about a member"""....... # ---- Personal information ------ programme = models.CharField( max_length=20, choices=PROGRAMME_CHOICES, verbose_name=_('Study programme'), blank=True, null=True, ) shoe_size = models.IntegerField( verbose_name=_('Shoe size') ).......
Now, since concrexit is multilingual we need to generate the new translations. Make sure you have a .po editor installed, poedit for example.
cd into the website/members directory
../manage.py makemessages --locale nl
This creates or updates locale/nl/LC_MESSAGES/django.po
Start poedit (for example) by calling poedit locale/nl/LC_MESSAGES/django.po
Add the Dutch translation for Shoe size and save.
Execute ../manage.py compilemessages (this should happen automatically when saving the file in poedit)
Commit both the .po and .mo file to the repository