You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to localize strings for various tools in Sirius, I encountered an issue with the delete tool. While I can successfully translate the label attribute for tools like the create tool and Diagram Creation (following the documentation from ), the localization of the label for the delete tool does not work as expected.
Steps to Reproduce:
In the .odesign file, define a delete tool with a label attribute set to a translated key:
Define the appropriate translations in the plugin.properties file:
properties
TreeElementItemDelete=Delete Tree Item
Switch the language to a different locale (e.g., French, Chinese, etc.).
Expected Behavior:
The label for the delete tool should be correctly localized, similar to other tools such as create.
Actual Behavior:
The label for the delete tool remains untranslated and is displayed as %TreeElementItemDelete instead of the expected translated value.
Additional Information:
I have verified that the translations for other tools (e.g., create, Diagram Creation) work as expected with the same localization setup.
The issue seems specific to the delete tool, which doesn't reflect the localized label.
I have followed the documentation and the correct steps to define the translations, but the delete tool doesn't adhere to the same localization behavior.
Environment:
It would be helpful if there is additional guidance or a known workaround for making the delete tool's label localizable in the same way as other tools in Sirius. If this is a bug, it may need further investigation or a patch.
The text was updated successfully, but these errors were encountered:
Description:
When trying to localize strings for various tools in Sirius, I encountered an issue with the delete tool. While I can successfully translate the label attribute for tools like the create tool and Diagram Creation (following the documentation from ), the localization of the label for the delete tool does not work as expected.
Steps to Reproduce:
In the .odesign file, define a delete tool with a label attribute set to a translated key:
Define the appropriate translations in the plugin.properties file:properties
TreeElementItemDelete=Delete Tree Item
Switch the language to a different locale (e.g., French, Chinese, etc.).
Expected Behavior:
The label for the delete tool should be correctly localized, similar to other tools such as create.
Actual Behavior:
The label for the delete tool remains untranslated and is displayed as %TreeElementItemDelete instead of the expected translated value.
Additional Information:
I have verified that the translations for other tools (e.g., create, Diagram Creation) work as expected with the same localization setup.
The issue seems specific to the delete tool, which doesn't reflect the localized label.
I have followed the documentation and the correct steps to define the translations, but the delete tool doesn't adhere to the same localization behavior.
Environment:
Sirius version: [7.4.5]
Eclipse version: [2024-09 (4.33.0)]
Suggested Solution:
It would be helpful if there is additional guidance or a known workaround for making the delete tool's label localizable in the same way as other tools in Sirius. If this is a bug, it may need further investigation or a patch.
The text was updated successfully, but these errors were encountered: