FredAncestris opened a new issue, #7950: URL: https://github.com/apache/netbeans/issues/7950
### Apache NetBeans version Apache NetBeans 23 ### What happened There has been a translation issue since the many versions of Netbeans. In ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:124 in the line: 124 button.setToolTipText( java.util.ResourceBundle.getBundle("org/netbeans/swing/tabcontrol/plaf/Bundle").getString("Tip_Scroll_Documents_Right") ); It seems the direct call to getBundle() prevents the use of branding overlay translations: if I create a bundle_fr file in org-netbeans-swing-tabcontrol/plaf, the new translation does not get picked up. For most other modules, Netbeans picks it up correctly. I think it should be changed to NbBundle.getMessage() instead. Thanks. ### Language / Project Type / NetBeans Component Ancestris application using Netbeans platform ### How to reproduce Just create a branding/modules/org-netbeans-swing-tabcontrol.jar/org/netbeans/swing/tabcontrol/plaf/Bundle.properties with the text : Tip_Scroll_Documents_Right=Scroll Tab Right and you will see that your app will not pick this new translation: if you mouse over the window right button, it will still say "Scroll Document Right", and not "Scroll Tab Right". ### Did this work correctly in an earlier version? No / Don't know ### Operating System Linux ### JDK OpenJDK Runtime Environment Temurin-17+35 (build 17+35) ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else There are other lines to change in this module: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:118: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:124: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:136: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:153: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:200: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:201: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:236: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:282: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:345: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:346: ./o.n.swing.tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java:459: ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists