hubeny commented on a change in pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5#discussion_r633424060
##########
File path: README.md
##########
@@ -1,5 +1,21 @@
# netbeans-l10n
-To build your own localization module, use the german module as template. Copy
"local_de" and rename it (e. g. "locale_fr"). The locale needs to be available
below netbeans-l10n-zip/src/. Then adapt `<property name="locale" value="de"/>`
in build.xml.
+To build your own localization module, use the german module as template. The
locale needs to be available below netbeans-l10n-zip/src/.
+## Steps to build your own localization module:
+* Copy "local_de" and rename it (e. g. "locale_fr").
+* Change the bundle dir in `src/org/apache/netbeans/l10n` from `de` 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`)
+* 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="cde"/>` to your locale
Review comment:
I correct mentioned typo.
##########
File path: README.md
##########
@@ -1,5 +1,21 @@
# netbeans-l10n
-To build your own localization module, use the german module as template. Copy
"local_de" and rename it (e. g. "locale_fr"). The locale needs to be available
below netbeans-l10n-zip/src/. Then adapt `<property name="locale" value="de"/>`
in build.xml.
+To build your own localization module, use the german module as template. The
locale needs to be available below netbeans-l10n-zip/src/.
+## Steps to build your own localization module:
+* Copy "local_de" and rename it (e. g. "locale_fr").
+* Change the bundle dir in `src/org/apache/netbeans/l10n` from `de` 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`)
+* 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="cde"/>` to your locale
+ * Then adapt `<property name="locale" value="de"/>`
Review comment:
I removed duplicated line.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists