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 45217 - I18N - shortcuts.pdf is not localizable
Summary: I18N - shortcuts.pdf is not localizable
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: PDF (show other bugs)
Version: 4.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2004-06-18 21:27 UTC by Ken Frank
Modified: 2007-06-08 18:21 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 2004-06-18 21:27:16 UTC
.url files in utilities.jar is workaround for
having the urls be in
bundle files. for the shortcuts, this info is in
an .xml file in same
directory, but it should be in .url file, or at
least we need to know
how this xml file might be modified, in the
localzied utilities.jar
file, so that the localized shortcuts.pdf can be
found.
(like what to name the localized one, where it
lives, and what to
call localized xml file, and what to put in it)

Also, please add source code of shortcuts.pdf to
l10n.list
with instructions on how to modify, and also have
build scripts
do what is needed to build the localized version
of it.
Comment 1 Patrick Keegan 2004-06-21 11:45:21 UTC
Marian, can you help here?

Ken, concerning your last note, I'll update the l10n.list today. If I
forget, file a separate issue against usersguide.
Comment 2 Marian Petras 2004-06-25 09:21:40 UTC
Accepted. I am looking at it.
Comment 3 Marian Petras 2004-06-25 11:45:09 UTC
.url files are not workarounds for having URLs in bundle files. They
are handled specially in the IDE.

As for localization of shortcuts.pdf:
You need not to modify the XML file (shortcuts.xml) at all. This XML
file points to shortcuts.pdf but if a localized variant of
shortcuts.pdf exists, it is used. So the only file you need to
localize is shortcuts.pdf.

Localized variant of shortcuts.pdf should be in the same directory as
the default locale file and should have a suffix corresponding to the
locale, e.g. shortcuts_ja.pdf.

File shortcuts.pdf was recently (2004/06/23) moved from
core/ide/release to ide/branding/release.

The corresponding l10n.list files were not updated according to the
relocation that time. So I updated both core/l10n.list and
ide/l10n.list according to the relocation now.
Comment 4 Marian Petras 2004-06-25 12:45:04 UTC
Modified files:
   core/l10n.list   (1.17)
   ide/l10n.list   (1.1 - initial revision)
Comment 5 Ken Frank 2007-06-08 18:21:14 UTC
v