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.

Bug 205398

Summary: Wrong Locale Shown For "Design Locale" Property When Bundle File is Deleted
Product: java Reporter: MackSix
Component: I18NAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal CC: asenk
Priority: P4    
Version: 7.1   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Project for test.

Description MackSix 2011-11-22 01:45:16 UTC
Created attachment 113393 [details]
Project for test.

1) Open attached Project.
2) Right click on Bundle.properties and choose Add>>Locale
3) Choose "cs_CZ - Czech / Czech Republic" from Predefined Locales and click OK.
4) Open up NewJFrame.java file in Editor - in Design Mode.
5) Highlight Form Root Node in Navigator and notice that the Design Locale combo box in Properties Tab shows correct locale.
6) Delete Bundle_cs_CZ.properties file in Projects window.
7) Look at Design Locale again from step #5 and notice it now shows the wrong locale "_cs_CZ" in combo box.

Expected: "default language" should show in Design Locale combo box, not "_cs_CZ".
Comment 1 MackSix 2011-11-22 01:46:53 UTC
Product Version: NetBeans IDE 7.1 RC1 (Build 201111171527)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 2 Martin Balin 2016-07-07 07:16:47 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss