Provide explicit, translatable verbose names for all models #8404

Closed
opened 2025-12-29 20:36:18 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 2, 2023).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Define the verbose_name and verbose_name_plural Meta attributes for each model, wrapping them with gettext_lazy() to support translation.

Justification

Enables automatic translation of model names per Django best practices.

Originally created by @jeremystretch on GitHub (Aug 2, 2023). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Define the `verbose_name` and `verbose_name_plural` Meta attributes for each model, wrapping them with `gettext_lazy()` to support translation. ### Justification Enables automatic translation of model names per [Django best practices](https://docs.djangoproject.com/en/4.2/topics/i18n/translation/#model-verbose-names-values).
adam added the status: acceptedtype: housekeepingtopic: Internationalization labels 2025-12-29 20:36:18 +01:00
adam closed this issue 2025-12-29 20:36:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8404