NetBeans 6.1 : How to localize NB Platform
I prepared a document about the l10n-kit and localization process
for NetBeans Platform and announced it to NetBeans Translatedfiles Community.
If you're interested in localization of NetBeans Platform, please try it. If you're developing RCP based on NetBeans Platform and want to localize it to several languages, you can follow the scenario.
If you know NetBeans 6.0 localization process, you need to understand the new l10n-kit (a set of English files to be localized) first for 6.1. There are two big changes from 6.0.
l10n-kit structure
l10n-kit was created from NetBeans source tree prior to NetBeans 6.1. In 6.1, l10n-kit is created from NetBeans binary and NetBeans NBMs. It means l10n-kit is the same structure of NetBeans installation image. You can find the detail info in NB6.1MLPlan.
Mercurial
NetBeans switched to HG (Mercurial) from cvs at 6.1. Our localized repository is also provided.
We were using the same directory for all languages prior to NetBeans 6.1.
If you're interested in localization of NetBeans Platform, please try it. If you're developing RCP based on NetBeans Platform and want to localize it to several languages, you can follow the scenario.
If you know NetBeans 6.0 localization process, you need to understand the new l10n-kit (a set of English files to be localized) first for 6.1. There are two big changes from 6.0.
l10n-kit structure
l10n-kit was created from NetBeans source tree prior to NetBeans 6.1. In 6.1, l10n-kit is created from NetBeans binary and NetBeans NBMs. It means l10n-kit is the same structure of NetBeans installation image. You can find the detail info in NB6.1MLPlan.
Mercurial
NetBeans switched to HG (Mercurial) from cvs at 6.1. Our localized repository is also provided.
We were using the same directory for all languages prior to NetBeans 6.1.
java/source/src/org/netbeans/modules/java/Bundle_de.properties java/source/src/org/netbeans/modules/java/Bundle_es.properties java/source/src/org/netbeans/modules/java/Bundle_ja.properties java/source/src/org/netbeans/modules/java/Bundle_pt_BR.properties java/source/src/org/netbeans/modules/java/Bundle_zh_CN.propertiesNow, in 6.1, we're using a sub-directory per language. The above example is now changed to the following structure.
de/java/org/netbeans/modules/java/Bundle_de.properties es/java/org/netbeans/modules/java/Bundle_es.properties ja/java/org/netbeans/modules/java/Bundle_ja.properties pt_BR/java/org/netbeans/modules/java/Bundle_pt_BR.properties zh_CN/java/org/netbeans/modules/java/Bundle_zh_CN.properties



