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 54647 - I18N - some possible l10n.list issues
Summary: I18N - some possible l10n.list issues
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: blueprints (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Yutaka Yoshida
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-02-08 02:30 UTC by Ken Frank
Modified: 2013-02-13 10:20 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-02-08 02:30:08 UTC
I sent mail to team since really needed to find
out more info on localization issues, but realize
it might be better to put here in IZ so here are the
potential issues/questions from that mail about
blueprints:

I was looking at the window that appears when
choosing help->blueprints
and the various files that appear in it when
choosing the design
and solution tabs.

I do see those files in the blueprints jar file,
for example for tabbed
view under 

org/netbeans/modules/j2ee/blueprints/catalog/resources/web/webtier/tabbed-view

1. From looking at l10n.list, it doesnt seem these
paths are matched by a 
wildcarded path.

Can all needed files be added, hopefully using **
wildcarded path as far
up to top of cvs tree path as possible, to be able
to cover more files
with one wildcarded statement ?

(assuming that, as normal, the localized html file
would be in localized
jar at same location as in en file, with name
<file>_<locale>.html)


2. Also, l10n.list mentions
j2ee/external/blueprints-solutions-catalog.zip

but it will help to know what in it needs to be
localized -
so I can both test this and pass on info to l10n team.
(since in cvs its in some scrambled form, I can't
get to it)

or are the files in it already part of or will be
part of the blueprints
jar itself ?  or should they be vs l10n getting a
whole zip, esp if its
scrambled.

In fact, not sure if having this in l10n.list as
is is clear enough
unless its that everything in it is translated ?

and also, would need to know how the localized
version would be named,
where to be placed in localized jar and will code
find localized parts ?




3. any other blueprints related localizable parts
besides above and
besides already existing bundle and separate html
files in the blueprints
jar, which I think are covered by existing
l10n.list patterns and
mostly seem to work as coming from bundle file
(some bug filed on 
items in project panel yesterday 54514 and I think
same issue applies to those names of samples
in the blueprints window invoked from help 
in the drop down pane - they also dont come
from bundle - if a different situation,please
let me know and I'll file separate.

For more info on optimizing wildcarding in
l10n.list, see recent doc
I wrote with recommendations 

Recomendations for optimizing and improving
accuracy of l10n.list
http://devtools.sfbay/teams/DeveloperTools_I18N/l10n.list.improvements.html
Comment 1 Yutaka Yoshida 2005-02-14 23:36:40 UTC
Each zip file in blueprints jar is a project, which
is an example demo for the corresponding solution catalog entry.
We don't believe we need to localize those "demo"s.
However, we need to update l10n.list as we have to localize
html files(solution catalog articles) in the jar file.
Comment 2 Yutaka Yoshida 2005-02-24 22:22:39 UTC
l10n.list updated.
still need a logic in the java code to switch html files.
Comment 3 Ken Frank 2005-02-24 23:37:27 UTC
pretty sure there is nb api to use so that localized html
files are found -- at least this is case for template
descriptor ones -- it might be that some other way is needed
for non template descriptor html files, if any of these
in blueprints are html that shows other places.

ken.frank@sun.com
Comment 4 Yutaka Yoshida 2005-03-01 02:20:57 UTC
Logics added in checked-in files on 2/28 under
j2ee\blueprints\src\org\netbeans\modules\j2ee\blueprints\ui/*.java
Comment 5 Ken Frank 2005-03-31 17:26:13 UTC
verified