Extend developer docs with best practices concerning internationalization support #8392

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

Originally created by @jeremystretch on GitHub (Jul 31, 2023).

Originally assigned to: @arthanson on GitHub.

Change Type

Addition

Area

Development

Proposed Changes

Now that we're moving to enable internationalization in NetBox v4.0, we should document every instance where developers must take care to ensure their code supports it. Typically this amounts to wrapping user-visible strings with gettext() or gettext_lazy(), but we should explicitly call out everywhere this may be needed: model fields, form fields, table columns, etc.

Originally created by @jeremystretch on GitHub (Jul 31, 2023). Originally assigned to: @arthanson on GitHub. ### Change Type Addition ### Area Development ### Proposed Changes Now that we're moving to enable internationalization in NetBox v4.0, we should document every instance where developers must take care to ensure their code supports it. Typically this amounts to wrapping user-visible strings with `gettext()` or `gettext_lazy()`, but we should explicitly call out everywhere this may be needed: model fields, form fields, table columns, etc.
adam added the status: acceptedtype: documentation labels 2025-12-29 20:36:09 +01:00
adam closed this issue 2025-12-29 20:36:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8392