You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/04/28 00:06:42 UTC
[GitHub] [netbeans-l10n] junichi11 commented on a change in pull request #5: Locale cs
junichi11 commented on a change in pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5#discussion_r621654275
##########
File path: locale_cs/nbproject/build-impl.xml
##########
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
Review comment:
Maybe, we should add the license header?
CC: @matthiasblaesing
##########
File path: README.md
##########
@@ -1,5 +1,21 @@
# netbeans-l10n
Review comment:
We should be able to add the license header the same as XML.
##########
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:
Typo? ("cde")
##########
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:
Is this the same as the line above? (We can remove this, right?)
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists