This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
User migration "Yes" and "No" options are no localized. For the migration you use NotifyDescriptor.YES_NO_OPTION. ide/launcher/upgrade/AutoUpgrade.java DialogDescriptor dd = new DialogDescriptor ( new AutoUpgradePanel (source.getAbsolutePath ()), NbBundle.getMessage (RaveAutoUpgrade.class, "MSG_Confirmation_Title" ), // NOI18N true, NotifyDescriptor.YES_NO_OPTION, NotifyDescriptor.NO_OPTION, null ); It seems necesary modules are loaded to do the standardized localizing need for this dialog box. Line 196: openide/dialogs/src/org/openide/DialogDisplayer.java
The current architecture of NetBeans doesn't allow call into Dialogs API in Upgrade dialog because Dialogs module is not loaded yet. But, it not need because all objects of dialogs are localizing . Text is loaded from Bundle and buttons are localizing by standard way in JOptionPane. See the attached screenshot which shows it. *** This issue has been marked as a duplicate of 55747 ***
Created attachment 29441 [details] localized upgrade panel in French
Clarification needed - is it that this message comes from jdk and thus would only show as localized if locale user is in is one that jdk localizes for ? or is the key/value for these words in nb bundle files (or needs to be ?) ken.frank@sun.com
You are right, I found this fix in the newer Netbeans sources. Thanks!
verified duplicate