Untranslatable "Tool" menu items in Infrastructure (hard-coded in database)

Started by cold, May 04, 2026, 05:01:03 AM

Previous topic - Next topic

cold

Description:
When attempting to localize/translate the NetXMS interface, I noticed that the items under the "Tools" menu for Infrastructure objects cannot be translated.



Upon further investigation, it appears these strings are hard-coded in the database under the `object_tools.tool_name` column, rather than being routed through the standard localization resource files.

NetXMS Version: 6.1.1
Operating System / Environment: Linux (Docker) [Server] / macOS [Client]

Steps to Reproduce:

  • Configure the NetXMS console/WebUI to use a translated language profile.
  • Navigate to the Infrastructure tree.
  • Select on a node or object and navigate to the Tools context menu.
  • Observe the language of the tool names.

Expected Behavior:
The names of the tools should support localization, either by mapping the database entries to localization keys or by allowing translations to be defined within the object tool configuration itself.

Actual Behavior:
The tool names are pulled directly from `object_tools.tool_name` in the database, bypassing the UI translation mechanism and forcing them to display in their original string format regardless of the user's language settings.