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 52644 - I18N - l10n required to localize an xml file
Summary: I18N - l10n required to localize an xml file
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: mslama
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2004-12-19 20:50 UTC by Ken Frank
Modified: 2008-12-22 16:54 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-12-19 20:50:18 UTC
This is NOT for nb4.0, just for 4.1


the usual files that are localized for nb are
Bundle.properties, html template descriptors,
and html and other javahelp files, besides .url
files.

For the few nb modules that required some xml
or layer file to have some changes for locale,
issues are being filed to just have these things
handled by the code, just like its handled for most
other modules.

for the
org-netbeans-modules-javahelp.jar
there still seems to be requirement to
modify  masterHelpSet.xml
file to translate some words like
labels for Name and Index 

also, it seems that this file needs to be in
localized jar for help to be found, but not
certain about this

--> Can't the words to translate just come from
bundle file, and also, if this file needs to
be in localized jar just to be found, cant the
code take care of it ?
Comment 1 Patrick Keegan 2005-01-03 16:40:40 UTC
Marek, can you answer Ken's questions?
Comment 2 mslama 2005-01-06 10:22:59 UTC
I will investigate if it is possible to set text for views at runtime
(so code could load localized strings from bundle and set it to UI).
Comment 3 mslama 2005-01-07 16:11:26 UTC
I discussed it with JavaHelp: There is no other way how to localize
view labels now. (NavigatorView does not have any API to set localized
label programmatically. HelpSet xml file must be localized.)
Comment 4 Marian Mirilovic 2005-01-25 08:20:13 UTC
v/c