Hello,

sorry for incoplete message before :/

tried it and:

5.2

Had to create empty directories tmp and nbms under nbbuild directory, to ant stop complaining

Complains that netbeans/nbbuild/build.xml:1212: basedir attribute must be set, or at least one resource collection must be given!

If I add line <ant dir="${basedir" /> (in build.xml) before that line, it just complains five minutes later on the same problem.

Do you have any suggestions for me?

*Milan Horák*

informatik

Dne 14. 01. 22 v 18:27 antonio napsal(a):
Hi Danijel,

AFAIU this should work as follows:

1. NetBeans is built as a set of modules.

2. Each module has a "manifest.mf" file (see [1] for an example)

3. Some of these files have an entry named "OpenIDE-Module-Localizing-Bundle" (see [2] for an example)

4. This means that the module has a "localizing bundle" which is a Java bundle (properties file) such as [3] that you have to localize.

5. The NetBeans source code has a "l10n-kit" Ant task that you can run to collect and group these localizing bundles.

5.1.- Clone the Apache NetBeans repo as in "Building from source" in [4].

5.2.- Run "ant l10n-kit" there. You should have the english version of the kit to localize to your preferred language.

I think it's ages since we last run "l10n-kit", so it could be it doesn't run well for you. If so please either

6.a) Try to send us a PR with improvements.

6.b) Open a ticket detailing the problem.

Hope this helps,
Antonio



[1]
https://github.com/apache/netbeans/blob/master/platform/core.ui/manifest.mf

[2]
https://github.com/apache/netbeans/blob/561409b8b64ce23a65b73a37e79305efd5d155f8/platform/core.ui/manifest.mf#L3

[3]
https://github.com/apache/netbeans/blob/master/platform/core.ui/src/org/netbeans/core/ui/resources/Bundle.properties

[4]
https://netbeans.apache.org/download/dev/index.html


El 14/1/22 a las 14:00, Danijel Mišanovič escribió:
Greetings all!

We have interest in localizing the platform to Slovenian language and we came to a hold on how to continue. We managed to checkout https://github.com/apache/netbeans-l10n build and prepare a few projects (Italian, Polish) for which there were already some translation sources but we are lost from where to get the English bundles that we would use as a base for our Slovenian translation. Currently most of info on how to setup I got from discussion from last year which we found here https://www.mail-archive.com/dev@netbeans.apache.org/msg08390.html but as there is no source localization files in netbeans-l10n-zip/src/ for English we don't know what to use as a template for Slovenian language translations.

Best regards!

Danijel Mišanović



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Reply via email to