Update model field definitions to use gettext_lazy #13132
Labels
topic: Internationalization
type: housekeeping
Changes to the application which do not directly impact the end user
Milestone
Proposed Changes
In order to correctly support internationalization, models need to be audited and add in the name as gettext_lazy string and update verbose_name where applicable to use gettext_lazy. See Django's use at https://github.com/django/django/blob/main/django/contrib/auth/models.py#L356
Justification
Model fields need their name (and where appropriate their verbose_name) as translatable strings.
The text was updated successfully, but these errors were encountered: