Audit to add gettext to strings to support internationalization #7196

Closed
opened 2025-12-29 20:20:21 +01:00 by adam · 1 comment
Owner

Originally created by @arthanson on GitHub (Nov 3, 2022).

Proposed Changes

Previous PR added in gettext around help_text and labels, further work would be needed to actually support translation:

  1. There are some strings encased in tripe-quotes or f-strings that aren't converted as they require more work and the f-strings especially need to be tested individually.
  2. ValidationError( strings have not been converted (quite a few are f-strings).
  3. Model verbose names and method decorators

Justification

Would allow NetBox to support translation into other languages.

Originally created by @arthanson on GitHub (Nov 3, 2022). ### Proposed Changes Previous PR added in gettext around help_text and labels, further work would be needed to actually support translation: 1. There are some strings encased in tripe-quotes or f-strings that aren't converted as they require more work and the f-strings especially need to be tested individually. 2. ValidationError( strings have not been converted (quite a few are f-strings). 3. Model verbose names and method decorators ### Justification Would allow NetBox to support translation into other languages.
adam added the status: acceptedtype: housekeepingtopic: Internationalization labels 2025-12-29 20:20:21 +01:00
adam closed this issue 2025-12-29 20:20:21 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 3, 2023):

This ended up getting broken into multiple other issues due to the scope of work involved.

@jeremystretch commented on GitHub (Aug 3, 2023): This ended up getting broken into multiple other issues due to the scope of work involved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7196