strike-digital / node_pie

A blender addon that adds a pie menu for adding new nodes to the node editor quickly
140 stars 7 forks source link

Fix Language Inversion Issue in Node Pie Menu for Blender #25

Open tra0420 opened 1 month ago

tra0420 commented 1 month ago

Issue Description: In the Node Pie add-on for Blender, there is an issue where menu items are displayed in Russian while tooltips remain in English. This is contrary to the user's language settings in Blender, where the interface language is set to English and tooltips are set to Russian. This inversion disrupts the user experience by providing inconsistent language usage across the interface.

Expected Behavior: Menu items and tooltips should adhere to the Blender language settings:

Current Behavior:

Steps to Reproduce:

  1. Set Blender interface language to English.
  2. Set Blender tooltips to Russian.
  3. Open Node Pie menu.
  4. Observe that the menu items are in Russian and tooltips are in English.

Suggested Solution: Investigate the implementation of language settings within the Node Pie plugin. It might be necessary to adjust how language configurations are applied to menu items and tooltips. Consider utilizing Blender's native language support mechanisms or ensure that the add-on correctly queries and applies language settings.

Screenshots: Attached screenshots showing the language discrepancy in the Node Pie menu. issue_lang_inverted

Additional Information:

Impact: Resolving this issue will improve the usability of the Node Pie add-on for non-English speakers and ensure a consistent user experience in multilingual environments.

Conclusion: Thank you for considering this issue. I am looking forward to your feedback and am willing to assist with testing any fixes or providing further information if required.

strike-digital commented 1 month ago

Hi, thanks for the detailed report, it's really useful!

If you download the latest release it should be fixed now 👍

tra0420 commented 1 month ago

Hi. I'm glad you responded and corrected the code to display the language correctly.

Some of the menu items and their tooltips are now displayed correctly, that's great. However, the other part of the menu items and their tooltips are still inverted by language.

Please see my screenshot. изображение

Additional Information: Blender Versions tested: 2.83; 4.0; 4.1 Node Pie Version: 1.2.30

Thanks a lot again for what you are doing!

tra0420 commented 1 month ago

UP: the shader window Node pie 1.2.30 menu has same language inversion problem. Here is the screenshot.

изображение

Cookybear commented 2 weeks ago

The material window is not available in blender 4.2 beta