How to build localized NetBeans IDE on NetBeans
You can do these steps on NetBeans IDE. We recommend it for Windows
developers.
When you know well about ant and UNIX/Linux command line, you can build
localized NetBeans IDE by command line, please check the following
documents.
Download NetBeans IDE sources
Download sources and unzip into your working folder.
NetBeans 5.5
You can download it from download page.
NetBeans 5.0
Localize Bundle.properties
If you need to localize, please do some localization. You can follow
the following documents.
Put translatedfiles into
translatedfiles/src.
Open "nbbuild" project on NetBeans
On Open Project
dialog, you can find "nbbuild"
under netbeans src
directory. Please un-select "Open
Required Project" checkbox.
Now "NetBeans Build System" is
displayed on "Projects" tab.
Add Ant properties
On Option dialog, add ant properties, like
build.compiler.deprecation=off
locales=ja
buildnum=mybuild
build.compiler.nowarn=on
Tools->Option->Miscellaneous->Ant,
click "Manage Properties..."
button
Add optional
properties e.g.
locales=<your language>
for Japanese.
Run "build" target from
"build.xml"
Open context menu of "build.xml"
and select "build" target
You can find zip file under nbbuild/,
which does not contain localized files
Run "all-translatedfiles"
Next, run target "
all-translatedfiles".
You can find zip file under translatedfiles/, which contains localized files.
NetBeans-<buildnum>-<locales>.zip
% netbeans/bin/netbeans
% netbeans/bin/netbeans --locale zh:CN