How to build localized NetBeans 6.1 for your language
% hg clone http://hg.netbeans.org/release61 destination directory: release61 requesting all changes adding changesets adding manifests adding file changes added 77536 changesets with 361898 changes to 79879 files 77396 files updated, 0 files merged, 0 files removed, 0 files unresolved %2. Edit release61/nbbuild/user.build.properties. If necessary, please define cluster in nb.clusters.list.
build.compiler=extJavac javac.compilerargs=-J-Xmx512m nb.clusters.list=nb.cluster.nb,nb.cluster.platform,nb.cluster.ide,nb.cluster.java3. Set ant option then run ant
% export ANT_OPTS="-Xmx196m" % cd release61 % ant4. Run build-nbms. To run the target of building localized jar file, it seems that we need to build nbms files. Run build-nbms target too.
% ant build-nbms5. Get localized files under release61/.
% hg clone http://hg.netbeans.org/release61/l10n destination directory: l10n requesting all changes adding changesets adding manifests adding file changes added 177 changesets with 27064 changes to 21005 files 20706 files updated, 0 files merged, 0 files removed, 0 files unresolved %When you want to localize files, pick up l10n-kit of NetBeans Platform. Once you localize them, put your files into src/<lang> directory. For example, if you localize Spanish files, put your files into src/es.
6. Run ant under l10n/.
% cd l10n % antLocalized jar files will be created under dist/ directory. ja, zh_CN and pt_BR files are created by default. If you want only specific language, please use locales property like below.
% ant -Dlocales=ja7. Copy localized jar files into your NetBeans 6.1 installation directory.
8. Run NetBeans in proper locale environment. Or use --locale option to specify the language option.
% netbeans --locale zh:TW




すごい。イタリアからどうもありがとう。
Posted by Marco Bresciani on July 03, 2008 at 05:06 AM JST #
すごい。イタリアからありがとう。
Posted by Marco Bresciani on July 03, 2008 at 05:13 AM JST #