To build your own localization module, use the german module as template. The locale needs to be available below netbeans-l10n-zip/src/.
- Copy "local_de" and rename it (e. g. "locale_fr").
- Change the bundle dir in
src/org/apache/netbeans/l10nfromdeto your locale (e. g.fr). - Change module name in
src/org/apache/netbeans/l10n/Bundle.propertiesto your locale (e. g.French). - In file
manifest.mfchange- line
OpenIDE-Module: org.apache.netbeans.l10n.deto your locale (e. g.org.apache.netbeans.l10n.fr) - line
OpenIDE-Module-Localizing-Bundle: org/apache/netbeans/l10n/de/Bundle.propertiesto your locale (org/apache/netbeans/l10n/fr/Bundle.properties)
- line
- In file
build.xmlchange- line
<project name="org.apache.netbeans.l10n.de" default="netbeans" basedir=".">to your locale - line
<description>Builds, tests, and runs the project org.apache.netbeans.l10n.de.</description>to your locale - line
<property name="locale" value="de"/>to your locale
- line
- In file
nbproject/build-impl.xml- Adapt line
<project name="org.apache.netbeans.l10n.de-impl" basedir=".."> - Adapt line
<code-name-base>org.apache.netbeans.l10n.de</code-name-base>
- Adapt line
Build l10nantext before building the locale.