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 144883 - I18N - VisualWeb app has web.xml with messages coming not from pseudo localized bundle file
Summary: I18N - VisualWeb app has web.xml with messages coming not from pseudo localiz...
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ potingwu
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-08-22 16:44 UTC by kaa
Modified: 2008-09-04 18:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (144.67 KB, image/jpeg)
2008-08-22 16:44 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-08-22 16:44:16 UTC
Product Version: NetBeans IDE Dev (Build 200808101401)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
I'm running in Japanese locale, using a pseudo localized Netbeans with font size 16 option.

1. Create Visual Web project
2. Open web.xml in visual editor
3. Open 'Filters' tab

There is a table with descriptions coming not from pseudo localized bundle file.
Comment 1 kaa 2008-08-22 16:44:53 UTC
Created attachment 68131 [details]
image
Comment 2 Peter Zavadsky 2008-08-25 19:15:56 UTC
It seems that message comes from this file:
visualweb.project.jsf/src/org/netbeans/modules/visualweb/project/jsf/framework/JSFFrameworkProvider.java

passing there.
Comment 3 _ potingwu 2008-08-25 19:34:30 UTC
These web.xml mesg are something like NOI18N Java comments. However I can still make it localized!
Comment 4 Quality Engineering 2008-08-26 06:05:24 UTC
Integrated into 'main-golden', available in build *200808260201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/32dad55be019
User: potingwu@netbeans.org
Log: Fix Issue#144883, P2, I18N - VisualWeb app has web.xml with messages coming not from pseudo localized bundle file.
Comment 5 _ potingwu 2008-08-26 17:49:26 UTC
Fixed in the trunk,
changeset 32dad55be019 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=32dad55be019

BTW, the fix is based on the newly created project. When you use new build with new translated locale to create new
project, the web.xml will contain the new localized mesg. I.e., it's not based on the run-time locale; the web.xml
contains will not change just because the IDE is running on different locale.
Comment 6 kaa 2008-09-04 18:32:07 UTC
verified: build 0831