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 89806

Summary: I18N: Create operation for webservice unsuccessfully in zh locale, ide hangs up
Product: nblocalization Reporter: Will Zhang <wzhang>
Component: CodeAssignee: Rebecca Liu <rebeccaliu>
Status: CLOSED FIXED    
Severity: blocker CC: jf4jbug, kfrank, masaki, rebeccaliu
Priority: P1 Keywords: I18N
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Will Zhang 2006-11-22 07:09:53 UTC
nbbuild200611220100
reproduce:
Step 1: First create a EJB project. Name the project Hello.
Step 2: Now invoke the new Web Service wizard. Name the web service Hello.
Step 3: Add an operation to the web service.

result:
ide hangs up
This bug only happen in zh locale
Comment 1 Masaki Katakai 2006-11-22 07:35:38 UTC
It seems that "operation" is translated into Chinese,

http://www.netbeans.org/issues/show_bug.cgi?id=88367

Rebecca, could you check this bug and revert back to English?

Comment 2 Rebecca Liu 2006-11-22 17:14:56 UTC
Found two files containing: TXT_DefaultOperationName=operation

websvc/core/src/org/netbeans/modules/websvc/core/webservices/action/Bundle.properties
In this file, it is like:
# Note: TXT_DefaultOperationName must be valid Java identifier name
#NOI18N
TXT_DefaultOperationName=operation
So "operation" was not translated.

websvc/core/src/org/netbeans/modules/websvc/core/jaxws/actions/Bundle.properties
In this file, there is no "#NOI18N". Then the string "operation" was translated
to Chinese. I guess the problem occured because of this. Please add such
"#NOI18N" comment before that.

Anyway, I will change the second one back to English.
Comment 3 Will Zhang 2006-11-27 06:33:18 UTC
verified and fixed in build20061125