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 55795 - I18N - l10n.list needs optimization and clarification
Summary: I18N - l10n.list needs optimization and clarification
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-03-02 17:59 UTC by Ken Frank
Modified: 2006-03-24 13:12 UTC (History)
1 user (show)

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 Ken Frank 2005-03-02 17:59:22 UTC
looking at browsable cvs of j2ee and l10n.list
and I think it needs some clarification, both
list itself and about some items on it.

l10n work starts very soon so this needs to be
ready for it.

1. javahelp .hs files are wildcarded
j2ee/platform/javahelp/**/*.hs but
dont see similar for javahelp html, xml,
gif (or other graphics) files. See most
other open src l10n.list for examples

(I do see
2ee/platform/javahelp/org/netbeans/modules/j2ee/platform/docs/*.xml
- is this because, if one used
j2ee/platform/javahelp/**/*.xml
it would pick up non javahelp xml files ?
If not, please use
j2ee/platform/javajelp/**/*.xml

(I am assuming the j2ee javahelp is the
one at j2ee/platform/....
if there is some other location
please add it also with wildcarding)


2.
j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ejb/wizard/xsl/*.xml

-- why are xml files being required to be
translated or localized - l10n only localized
bundle, html, .url files (and certain javahelp
xml/hs files) 

we have tried to make sure for other modules
that xml files do not need to be localize, but
instead values come from a bundle file.

I can file separate issue on this if know details.


3. please review this list (and websvc one
and the plugin one in closed src) and 
optimize the list as laid out in:

Recomendations for optimizing and improving
accuracy of l10n.list
http://devtools.sfbay/teams/DeveloperTools_I18N/l10n.list.improvements.html

good news is that most of list is in this format,
but with ongoing development, there still might
be need for additional or corrected wildcarded
path or other additions/corrections)

4. if blueprints html or other localizable files
are in blueprints closed src, please also
optimize that list.
Comment 1 John Jullion-ceccarelli 2005-03-10 10:14:35 UTC
l10n list should definitely include all of the .html, .xml, .gif, .jpg/.jpeg,
and .png files in the help set.
Comment 2 Libor Kotouc 2005-03-10 13:56:25 UTC
Fixed.
Checking in l10n.list;
/cvs/j2ee/l10n.list,v  <--  l10n.list
new revision: 1.5; previous revision: 1.4
done

I removed .template files and .xml files not included in javahelp directory and
added the files of several types other than .hs.

Could you please verify the fix? Thx.
Comment 3 Ken Frank 2005-03-10 17:52:17 UTC
It looks great to me from recommendations standpoint; I suggest developers
all review since for this module there are many developers who contribute.

Key thing now is, as we get to RR freeze dates, that it be reviewed at later
stages as well, in case some new dir added at top level, but with the
*/src/** you have covered all the html and Bundle.properties files
from that location, so any new/moved such files below that path are already
covered by the pattern.

Thanks for doing these changes. 

ken.frank@sun.com
Comment 4 Ken Frank 2005-03-12 21:21:51 UTC
verified