Strings missing translation support #10307

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

Originally created by @click0 on GitHub (Sep 30, 2024).

Deployment Type

NetBox Cloud

NetBox Version

v4.1.6

Python Version

3.10

Steps to Reproduce

  1. According to the demo version of netbox (NetBox Community v4.1.2), not all translated strings are displayed
    For example, Markdown syntax is supported
    Screenshot 2024-09-28 at 00-45-37 Редагування бездротова локальна мережа ьн_ашкые_ЫЫШВ NetBox

  2. Similar here, translation strings.
    Screenshot 2024-11-06 at 17-38-34 Data Sources NetBox

Expected Behavior

I expect correct transfer of translated strings from the transifex.com service to the repository Netbox on GitHub.

Observed Behavior

Apparently, not all translated strings were transferred to the repository.
Or demo.Netbox receives translation strings differently.

Originally created by @click0 on GitHub (Sep 30, 2024). ### Deployment Type NetBox Cloud ### NetBox Version v4.1.6 ### Python Version 3.10 ### Steps to Reproduce 1. According to the demo version of netbox (NetBox Community v4.1.2), not all translated strings are displayed For example, [Markdown syntax is supported](https://app.transifex.com/netbox-community/netbox/translate/#uk/9cbf4fcf95b3d92e4ebbf1a5e5d1caee/475813334?q=text%3A'syntax+is+supported') ![Screenshot 2024-09-28 at 00-45-37 Редагування бездротова локальна мережа ьн_ашкые_ЫЫШВ NetBox](https://github.com/user-attachments/assets/2d844274-dc06-4448-a4ac-810d3c8457fc) 2. Similar [here](https://demo.netbox.dev/core/data-sources/), [translation strings](https://app.transifex.com/netbox-community/netbox/translate/#uk/9cbf4fcf95b3d92e4ebbf1a5e5d1caee/475811031?q=text%3A'Data+Sources'). ![Screenshot 2024-11-06 at 17-38-34 Data Sources NetBox](https://github.com/user-attachments/assets/58e734f8-e01c-47a0-8550-05bb29dec71c) ### Expected Behavior I expect correct transfer of translated strings from the transifex.com service to the repository Netbox on GitHub. ### Observed Behavior Apparently, not all translated strings were transferred to the repository. Or demo.Netbox receives translation strings differently.
adam added the type: bugstatus: needs ownerpending closurenetboxseverity: low labels 2025-12-29 21:29:41 +01:00
adam closed this issue 2025-12-29 21:29:41 +01:00
Author
Owner

@arthanson commented on GitHub (Oct 2, 2024):

@click0 which page are you seeing the "Markdown syntax is supported" on? There is a translated string for this (https://github.com/netbox-community/netbox/blob/develop/netbox/utilities/forms/fields/fields.py#L30) so I need to check against that specific page.

@arthanson commented on GitHub (Oct 2, 2024): @click0 which page are you seeing the "Markdown syntax is supported" on? There is a translated string for this (https://github.com/netbox-community/netbox/blob/develop/netbox/utilities/forms/fields/fields.py#L30) so I need to check against that specific page.
Author
Owner

@click0 commented on GitHub (Oct 2, 2024):

@click0 which page are you seeing the "Markdown syntax is supported" on? There is a translated string for this (https://github.com/netbox-community/netbox/blob/develop/netbox/utilities/forms/fields/fields.py#L30) so I need to check against that specific page.

Yes, it looks like it.

<span class="form-text"><i class="mdi mdi-information-outline"></i> <a href="[/static/docs/reference/markdown/](view-source:https://demo.netbox.dev/static/docs/reference/markdown/)" target="_blank" tabindex="-1">Markdown</a> syntax is supported</span>

@click0 commented on GitHub (Oct 2, 2024): > @click0 which page are you seeing the "Markdown syntax is supported" on? There is a translated string for this (https://github.com/netbox-community/netbox/blob/develop/netbox/utilities/forms/fields/fields.py#L30) so I need to check against that specific page. Yes, it looks like it. `<span class="form-text"><i class="mdi mdi-information-outline"></i> <a href="[/static/docs/reference/markdown/](view-source:https://demo.netbox.dev/static/docs/reference/markdown/)" target="_blank" tabindex="-1">Markdown</a> syntax is supported</span>`
Author
Owner

@DanSheps commented on GitHub (Oct 2, 2024):

Yes, it looks like it.

Aurthur is asking for the URL that you are visiting. He needs to check the form and the template files to ensure they are translation enabled

@DanSheps commented on GitHub (Oct 2, 2024): > Yes, it looks like it. Aurthur is asking for the URL that you are visiting. He needs to check the form and the template files to ensure they are translation enabled
Author
Owner

@DanSheps commented on GitHub (Oct 2, 2024):

so I need to check against that specific page.

Based on lens, I think this is "Wireless LANs".

Looks like utilities.forms.fields.fields.CommentField has translation enabled for help_text but because it includes HTML tags it likely isn't getting translated properly

@DanSheps commented on GitHub (Oct 2, 2024): > so I need to check against that specific page. Based on lens, I think this is "Wireless LANs". Looks like utilities.forms.fields.fields.CommentField has translation enabled for help_text but because it includes HTML tags it likely isn't getting translated properly
Author
Owner

@click0 commented on GitHub (Oct 2, 2024):

Aurthur is asking for the URL that you are visiting. He needs to check the form and the template files to ensure they are translation enabled

https://demo.netbox.dev/wireless/wireless-lans/1/edit/

@click0 commented on GitHub (Oct 2, 2024): > Aurthur is asking for the URL that you are visiting. He needs to check the form and the template files to ensure they are translation enabled [https://demo.netbox.dev/wireless/wireless-lans/1/edit/](https://demo.netbox.dev/wireless/wireless-lans/1/edit/)
Author
Owner

@click0 commented on GitHub (Oct 2, 2024):

One more place
Screenshot 2024-10-02 at 20-19-18 Додати новий спрацьовує правило NetBox

@click0 commented on GitHub (Oct 2, 2024): One more [place](https://demo.netbox.dev/extras/event-rules/add/) ![Screenshot 2024-10-02 at 20-19-18 Додати новий спрацьовує правило NetBox](https://github.com/user-attachments/assets/60424911-324a-488e-bacd-d3b6ff418551)
Author
Owner

@DanSheps commented on GitHub (Oct 2, 2024):

Thanks

@DanSheps commented on GitHub (Oct 2, 2024): Thanks
Author
Owner

@click0 commented on GitHub (Oct 2, 2024):

One more location.

Screenshot 2024-11-06 at 17-41-12 Jobs NetBox

@click0 commented on GitHub (Oct 2, 2024): One more [location](https://demo.netbox.dev/core/jobs/). ![Screenshot 2024-11-06 at 17-41-12 Jobs NetBox](https://github.com/user-attachments/assets/0eae7775-1ee9-4c1b-b63d-6a7a61695c8d)
Author
Owner

@click0 commented on GitHub (Oct 2, 2024):

Also, in some places the first and second words of the phrase suddenly start with a capital symbol.
or open a new issue?

@click0 commented on GitHub (Oct 2, 2024): Also, in some places the first and second words of the phrase suddenly start with a capital symbol. or open a new issue?
Author
Owner

@DanSheps commented on GitHub (Oct 2, 2024):

Also, in some places the first and second words of the phrase suddenly start with a capital symbol. or open a new issue?

If it is specific to the Russian Language, I would look at our Transifex and see if you can help improve it.

The ones you have posted so far are definintely all global issues and not specific to the language itself.

@DanSheps commented on GitHub (Oct 2, 2024): > Also, in some places the first and second words of the phrase suddenly start with a capital symbol. or open a new issue? If it is specific to the Russian Language, I would look at our Transifex and see if you can help improve it. The ones you have posted so far are definintely all global issues and not specific to the language itself.
Author
Owner

@click0 commented on GitHub (Oct 2, 2024):

If it is specific to the Russian Language, I would look at our Transifex and see if you can help improve it.

I checked this page in Russian and Dutch translations - yes, there is a capital first character of the second word of the phrase.

Screenshot 2024-10-02 at 22-51-20 Virtuele Machines NetBox

The ones you have posted so far are definintely all global issues and not specific to the language itself.

There could also be an error transferring the translation to demo.netbox.dev.
I don't see the pipeline of this process.

@click0 commented on GitHub (Oct 2, 2024): > If it is specific to the Russian Language, I would look at our Transifex and see if you can help improve it. I checked [this page ](https://demo.netbox.dev/virtualization/virtual-machines/)in Russian and Dutch translations - yes, there is a capital first character of the second word of the phrase. ![Screenshot 2024-10-02 at 22-51-20 Virtuele Machines NetBox](https://github.com/user-attachments/assets/0ce827cf-bfdd-44e3-99f4-a3f1b71d3615) > The ones you have posted so far are definintely all global issues and not specific to the language itself. There could also be an error transferring the translation to demo.netbox.dev. I don't see the pipeline of this process.
Author
Owner

@click0 commented on GitHub (Oct 7, 2024):

I found another location with unadded strings for translation.

Screenshot 2024-10-07 at 03-27-13 dmi01-akron-rtr01 NetBox

Screenshot 2024-10-07 at 03-25-15 dmi01-akron-rtr01 NetBox

@click0 commented on GitHub (Oct 7, 2024): I found [another location](https://demo.netbox.dev/dcim/devices/1/console-ports/) with unadded strings for translation. ![Screenshot 2024-10-07 at 03-27-13 dmi01-akron-rtr01 NetBox](https://github.com/user-attachments/assets/904c393f-d1c2-4bb5-976d-8ce0b29d422e) ![Screenshot 2024-10-07 at 03-25-15 dmi01-akron-rtr01 NetBox](https://github.com/user-attachments/assets/bdde0c1f-4848-4af4-b410-3b3475af20e3)
Author
Owner

@click0 commented on GitHub (Oct 7, 2024):

And one more location.

Edit2

@click0 commented on GitHub (Oct 7, 2024): And [one](https://demo.netbox.dev/extras/event-rules/add/) more location. ![Edit2](https://github.com/user-attachments/assets/53222ddb-6986-43f5-b2e6-ff3d8844196c)
Author
Owner

@click0 commented on GitHub (Nov 6, 2024):

And one more location.
Screenshot 2024-10-29 at 03-47-24 Жетонів NetBox

@click0 commented on GitHub (Nov 6, 2024): And [one](https://demo.netbox.dev/users/tokens/) more location. ![Screenshot 2024-10-29 at 03-47-24 Жетонів NetBox](https://github.com/user-attachments/assets/1eb96f49-ed73-400e-a0dc-07719db8fca1)
Author
Owner

@click0 commented on GitHub (Nov 6, 2024):

And one more location.
In the "Slug" field, enter non-latin characters and click the "Create" button.
Screenshot 2024-10-29 at 03-38-20 Додати новий група каналу зв'язку NetBox

@click0 commented on GitHub (Nov 6, 2024): And [one](https://demo.netbox.dev/circuits/circuit-groups/add/) more location. In the "Slug" field, enter non-latin characters and click the "Create" button. ![Screenshot 2024-10-29 at 03-38-20 Додати новий група каналу зв'язку NetBox](https://github.com/user-attachments/assets/c8c425a6-9dcd-457a-b74c-b12a02020c6d)
Author
Owner

@click0 commented on GitHub (Nov 6, 2024):

And one more location.

Screenshot 2024-10-29 at 03-34-42 Додати новий Призначення групи каналів зв'язку NetBox

@click0 commented on GitHub (Nov 6, 2024): And [one](https://demo.netbox.dev/circuits/circuit-group-assignments/) more location. ![Screenshot 2024-10-29 at 03-34-42 Додати новий Призначення групи каналів зв'язку NetBox](https://github.com/user-attachments/assets/78452623-719a-4067-b571-9310169c4c44)
Author
Owner

@click0 commented on GitHub (Nov 6, 2024):

And one more location.
Screenshot 2024-11-06 at 01-46-41 Мітки NetBox

@click0 commented on GitHub (Nov 6, 2024): And [one](https://demo.netbox.dev/extras/tags/) more location. ![Screenshot 2024-11-06 at 01-46-41 Мітки NetBox](https://github.com/user-attachments/assets/808e5097-5c95-496c-90af-28b04fe8ca96)
Author
Owner

@DanSheps commented on GitHub (Nov 6, 2024):

Thanks for all the information. Definintely helpful.

I am not 100% sure how we can translate the strings for the model names, I am sure one of the other maintainers will chime in.

@DanSheps commented on GitHub (Nov 6, 2024): Thanks for all the information. Definintely helpful. I am not 100% sure how we can translate the strings for the model names, I am sure one of the other maintainers will chime in.
Author
Owner

@click0 commented on GitHub (Nov 6, 2024):

I found another location with unadded strings for translation.

Screenshot 2024-10-07 at 03-27-13 dmi01-akron-rtr01 NetBox

Screenshot 2024-10-07 at 03-25-15 dmi01-akron-rtr01 NetBox

Here, buttons "Edit selected" and "Rename" remain untranslated.

@click0 commented on GitHub (Nov 6, 2024): > I found [another location](https://demo.netbox.dev/dcim/devices/1/console-ports/) with unadded strings for translation. > > ![Screenshot 2024-10-07 at 03-27-13 dmi01-akron-rtr01 NetBox](https://private-user-images.githubusercontent.com/396824/373991184-904c393f-d1c2-4bb5-976d-8ce0b29d422e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzA5MDY1NzAsIm5iZiI6MTczMDkwNjI3MCwicGF0aCI6Ii8zOTY4MjQvMzczOTkxMTg0LTkwNGMzOTNmLWQxYzItNGJiNS05NzZkLThjZTBiMjlkNDIyZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMTA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTEwNlQxNTE3NTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xOGM3Zjc3MTQxZmFlNzk3MTVlNWJlOWMyMmMwMGY2YmZkY2JhMzkxYmEyNjliNjQ5MTlhNzQ4ODhmYzEyNjdkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.pCRfQFqtdTDaKrLqDujOuHkh3RoYe8zi0ryBBidfMj4) > > ![Screenshot 2024-10-07 at 03-25-15 dmi01-akron-rtr01 NetBox](https://private-user-images.githubusercontent.com/396824/373991198-bdde0c1f-4848-4af4-b410-3b3475af20e3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzA5MDY1NzAsIm5iZiI6MTczMDkwNjI3MCwicGF0aCI6Ii8zOTY4MjQvMzczOTkxMTk4LWJkZGUwYzFmLTQ4NDgtNGFmNC1iNDEwLTNiMzQ3NWFmMjBlMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMTA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTEwNlQxNTE3NTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hZGFlY2I4NWNlYmMwNmM0N2FlYzUzYmU1NTMzODFiMDJkZTljOTUyZGU0NWI4ZTQ2ZDZkMTA5MGZjZTQxZmJkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Gup6-8rf7EiFH8oBbwmor9MksHQXjf5qcmMHuIAC_wE) Here, buttons "Edit selected" and "Rename" remain untranslated.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 24, 2025):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Apr 24, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/main/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (May 26, 2025):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (May 26, 2025): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10307