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 51339 - I18N - updater.jar messages during ide restart not from locale
Summary: I18N - updater.jar messages during ide restart not from locale
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 4.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2004-11-09 18:35 UTC by Ken Frank
Modified: 2007-06-08 18:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bundle file (4.72 KB, text/plain)
2004-12-10 17:53 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2004-11-09 18:35:39 UTC
I have, in nb4.0, updater.jar localzied as normal
in locale/updater_zh_CN.jar
org/netbeans/updater/Bundle_zh_CN.properties

I was running ide in zh locale

But when I used autoupdate to install an
nbm on the system, ide restarted but the
updater messages were not from the localized
file, but from en one.

but ide did come back up again showing the
regular zh messages, as it had been before
restarting by update actions.
Comment 1 Jiri Rechtacek 2004-11-10 11:43:44 UTC
Localization doesn't work in NB4.0. Localization support in Updater
doesn't reflect installation layout change.
Comment 2 Jiri Rechtacek 2004-11-10 14:47:30 UTC
Fixed in main trunk. I'll ask for review for integration to release40.

autoupdate/libsrc/org/netbeans/updater/Localization.java;
/cvs/autoupdate/libsrc/org/netbeans/updater/Localization.java,v  <-- 
Localization.java
new revision: 1.6; previous revision: 1.5
done
Comment 3 Jiri Rechtacek 2004-11-10 14:52:24 UTC
Note: the fixed only for default locale. If the locale is specify by
--locale option then specified locale is ignored. Task 51376 should
change NB launchers to forward this option to updater. This change is
not planned to NB4.0.
Comment 4 Jiri Rechtacek 2004-11-11 10:20:11 UTC
Integrated to release40 branch.
Comment 5 Ken Frank 2004-12-10 07:58:29 UTC
I think l10n.list might not have been updated to the correct path
for the bundle, that is, that path to where bundle is might have changed
for nb4.0 - in the org-netbeans-upgrade the path is org/netbeans/update
but in the libsrc path mentioned below, the path has word updater in it - 

can you check on this as l10n has raised crucial issue to nb team
that handles l10n.list issues that the bundle is not in l10n.list,
and this is a showstopper situation for them.

ken.frank@sun.com
Comment 6 Jiri Rechtacek 2004-12-10 09:42:19 UTC
I don't see it as problem. The autoupdate/l10n.list contains right
paths to the bundles, the path to updater's bundle has changed only in
NB distribution not in sources. I hope it works.
Comment 7 Ken Frank 2004-12-10 17:53:43 UTC
Created attachment 19246 [details]
bundle file
Comment 8 Ken Frank 2007-06-08 18:23:18 UTC
v