The empty_text in BaseTable is not translatable because it does not utilize gettext_lazy #9633

Closed
opened 2025-12-29 21:20:06 +01:00 by adam · 2 comments
Owner

Originally created by @grncbg on GitHub (May 9, 2024).

Originally assigned to: @grncbg on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.0.0

Python Version

3.10

Steps to Reproduce

The empty_text in BaseTable is not translatable because it does not utilize gettext_lazy.
0cc2963e6f/netbox/netbox/tables/tables.py (L54-L55)

English
English

Japanese
Japanese

Expected Behavior

empty_text can be translated

Observed Behavior

empty_text cannot be translated

Originally created by @grncbg on GitHub (May 9, 2024). Originally assigned to: @grncbg on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.0.0 ### Python Version 3.10 ### Steps to Reproduce The empty_text in BaseTable is not translatable because it does not utilize gettext_lazy. https://github.com/netbox-community/netbox/blob/0cc2963e6f9b4f5c644201099fa9b204044653e2/netbox/netbox/tables/tables.py#L54-L55 English ![English](https://github.com/netbox-community/netbox/assets/20819471/3d6e9604-b501-4135-ae51-174721f7ea14) Japanese ![Japanese](https://github.com/netbox-community/netbox/assets/20819471/4d80cb07-7f7c-4805-b74a-3ab579445333) ### Expected Behavior empty_text can be translated ### Observed Behavior empty_text cannot be translated
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:20:06 +01:00
adam closed this issue 2025-12-29 21:20:06 +01:00
Author
Owner

@abhi1693 commented on GitHub (May 9, 2024):

@grncbg I have assigned the bug to you since you already have a fix.

@abhi1693 commented on GitHub (May 9, 2024): @grncbg I have assigned the bug to you since you already have a fix.
Author
Owner

@jeremystretch commented on GitHub (May 9, 2024):

Please remember to assign a severity when triaging bug reports.

@jeremystretch commented on GitHub (May 9, 2024): Please remember to assign a severity when triaging bug reports.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9633