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 197610 - Adding locale to properties file does not link them together
Summary: Adding locale to properties file does not link them together
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-04-11 09:46 UTC by rcasha
Modified: 2011-11-30 14:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rcasha 2011-04-11 09:46:04 UTC
In the past, if I right-clicked a properties file and added a language, both languages would have appeared under the same properties file in the project. Now it creates two entries. This can cause problems with I18N functions.

I currently have a Web project containing a properties file with one language. I decided to add one additional language. Although the file was created it appears as a separate file in the project view. In addition, when I used the I18N wizard, it selected the language-specific file rather than the default file.

(NB 7.0 RC2)
Comment 1 Ralph Ruijs 2011-11-30 14:36:59 UTC
Having a different node for every Bundle file is the intended behavior. see: http://netbeans.org/kb/docs/java/gui-automatic-i18n.html

I can not reproduce the problem with the I18N wizard. Can you share the specific project, or give some steps how to reproduce?

Thanks!