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 157027 - i18n of a NetBeans Platform based application is broken
Summary: i18n of a NetBeans Platform based application is broken
Status: RESOLVED DUPLICATE of bug 133901
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P2 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-19 09:00 UTC by puce
Modified: 2009-01-19 13:56 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 puce 2009-01-19 09:00:24 UTC
i18n of a NetBeans Platform based application is broken and very inconvenient in general.

Here is what I did to get a NetBeans Platform with German l10n files:
- Download the NetBeans Platform src.zip and build it
- Download the German NetBeans IDE and install it
- Exctract the German i18n files from the German NetBeans IDE installation and merge them into the directory of the
NetBeans Platform binaries
- Uninstall the German NetBeans IDE (I think I also had to uninstall and reinstall the English NetBeans IDE)
- Configure the application to use this built platform

After this the German texts showed up when starting the application with the German locale - but only if I start the
application "normally" from within the IDE.

"Build ZIP Distribution" and "Build JNLP Application" do not include the localized platform jars!!!
-> P2 Defect

These two Ant targets need to be fixed. It would also be good if you could provide a workaround for the meantime. (I'm
particularly interested in the "Build JNLP Application" target.)

If these targets are already working, but I did configure the custom platform wrongly, please provide better/ more
prominent documentation, because I couldn't find a better way up to now.

I will add another issue (ENHANCEMENT) for a more convenient way to build a localized, NetBeans Platform based application.
Comment 1 puce 2009-01-19 09:49:05 UTC
Here is the enahncement request:
http://www.netbeans.org/issues/show_bug.cgi?id=157031
Comment 2 Masaki Katakai 2009-01-19 12:26:05 UTC
I understand it's dup of bug 133901.
Comment 3 puce 2009-01-19 13:56:40 UTC
Yes, my search didn't find that issue before, but I tried now to manipulate one of the update_trackin/*.xml as stated in
that issue and the according jar was included in the war and the jnlp had the according resources entry.

-> duplicate issue

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