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/19 11:32:20 UTC

[GitHub] [netbeans-l10n] hubeny opened a new pull request #5: Locale cs

hubeny opened a new pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5


   I created locale_cs project folder (czech localization folder). Further I added detailed description of creating another localization folder in README.md.


-- 
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


[GitHub] [netbeans-l10n] hubeny commented on a change in pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
hubeny commented on a change in pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5#discussion_r621843442



##########
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:
       Yes, this is a typo. It should  be 
   * line `<property name="locale" value="de"/>` to your locale
   




-- 
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


[GitHub] [netbeans-l10n] borisheithecker commented on pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
borisheithecker commented on pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5#issuecomment-828176726


   > Hello,
   > I originally translated small part of Netbeans platform from English to Czech language (Netbeans 6 to 8). We needed in our application (Based on Netbeans platform). Now we want to migrate our application to Netbeans platform version 12.3. @JaroslavTulach directed me to this repository. I tried to add new locale folder for Czech Language, I was able to compile this new folder as a netbeans module.
   > 
   > However, I do not know what to do next. My goal is clear: I want somehow migrate old czech translation of netbeans platform to this new "apache" project and build jar ibrary with Czech translation of Netbeans 12.3 platform. Can somebody help me with this issue?
   
   Well, if you've managed to create the czech language project, and if it compiles, you should have a NetBeans module project ready now to be added to your application. Just add this project as a standalone NetBeans module project to your application (Properties -> Libraries -> Add project). That is, you don't add the jar but the project (unless you're also migrating from Ant to Maven. This would required more steps, but I'd have to see how to do it myself).


-- 
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


[GitHub] [netbeans-l10n] junichi11 commented on a change in pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
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


[GitHub] [netbeans-l10n] JaroslavTulach commented on pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
JaroslavTulach commented on pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5#issuecomment-827661166


   CCing @borisheithecker 


-- 
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


[GitHub] [netbeans-l10n] hubeny commented on a change in pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
hubeny commented on a change in pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5#discussion_r621844188



##########
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:
       Yes, that is right. We can remove this 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:
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


[GitHub] [netbeans-l10n] hubeny commented on a change in pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
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:
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


[GitHub] [netbeans-l10n] JaroslavTulach merged pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
JaroslavTulach merged pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5


   


-- 
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


[GitHub] [netbeans-l10n] hubeny commented on a change in pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
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.




-- 
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


[GitHub] [netbeans-l10n] hubeny commented on pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
hubeny commented on pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5#issuecomment-822402908


   Hello,
   I originally translated small part of Netbeans platform from English to Czech language (Netbeans 6 to 8). We needed in our application (Based on Netbeans platform). Now we want to migrate our application to Netbeans platform version 12.3. @JaroslavTulach directed me to this repository. I tried to add new locale folder for Czech Language, I was able to compile this new folder as a netbeans module. 
   
   However, I do not know what to do next. My goal is clear: I want somehow migrate old czech translation of netbeans platform to this new "apache" project and build jar ibrary with Czech translation of Netbeans 12.3 platform. Can somebody help me with this issue?


-- 
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


[GitHub] [netbeans-l10n] hubeny commented on a change in pull request #5: Locale cs

Posted by GitBox <gi...@apache.org>.
hubeny commented on a change in pull request #5:
URL: https://github.com/apache/netbeans-l10n/pull/5#discussion_r633424250



##########
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:
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