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 138056 - RCP ZIP distribution not include localizations
Summary: RCP ZIP distribution not include localizations
Status: RESOLVED DUPLICATE of bug 133901
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: rmichalsky
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-06-24 07:28 UTC by cye3s
Modified: 2008-06-27 03:27 UTC (History)
0 users

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 cye3s 2008-06-24 07:28:26 UTC
IDE : 6.1 Multi-languages(Simplified Chinese).
After build ZIP distribution for my RPC project and run it,the mian windows menu(like"File" etc.)show in engilsh.
The IDE forgot to add this files to ZIP distribution?
X:\Program Files\NetBeans 6.1\platform8\core\locale\*.*
X:\Program Files\NetBeans 6.1\platform8\modules\locale\*.*
Comment 1 Jana Maleckova 2008-06-26 09:42:25 UTC
reassign to nbbuild for evaluation
Comment 2 Jesse Glick 2008-06-26 22:23:20 UTC
Are the mentioned locale files actually missing in the ZIP or not?

Did you run the app with --locale? If not, does the messages.log from the application say that it is supposed to be
running in Simplified Chinese locale? (The initial block of messages specifies the runtime locale & branding among other
things.) If --locale is not specified, NB should run using Locale.getDefault().
Comment 3 cye3s 2008-06-27 03:04:13 UTC
>Are the mentioned locale files actually missing in the ZIP or not?
Yes,they are actually missing in the ZIP.

>Did you run the app with --locale? 
No.
The messages.log initial block:
>Log Session: Thursday, June 26, 2008 11:32:25 AM CST
>System Info: 
  Product Version         = ????????????????? 200805300101
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04; Sun Microsystems Inc.
  Runtime                 = Java(TM) 2 Runtime Environment, Standard Edition 1.5.0_15-b04
  Java Home               = D:\Program Files\Java\jdk1.5.0_15\jre
  System Locale; Encoding = zh_CN (MyApp); GBK
.......
Comment 4 Jesse Glick 2008-06-27 03:27:50 UTC
I forgot, 6.1 fails to list localized files in its */update_tracking/*.xml. Workaround would be to manually include
**/locale/ in your ZIP.

*** This issue has been marked as a duplicate of 133901 ***