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/l10n
fromde
to your locale (e. g.fr
). - Change module name in
src/org/apache/netbeans/l10n/Bundle.properties
to your locale (e. g.French
). - In file
manifest.mf
change- line
OpenIDE-Module: org.apache.netbeans.l10n.de
to your locale (e. g.org.apache.netbeans.l10n.fr
) - line
OpenIDE-Module-Localizing-Bundle: org/apache/netbeans/l10n/de/Bundle.properties
to your locale (org/apache/netbeans/l10n/fr/Bundle.properties
)
- line
- In file
build.xml
change- 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.