Hi all,

the https://github.com/apache/netbeans-l10n repository, which I
created a year ago, is mainly meant to be a workaround for those who
need to upgrade and continue a NetBeans Platform project with
locationsations from NB 8 onwards. The original translations, which
were donated to the ASF from Oracle, are located below /src/locale, so
if your want to build a localised serbian IDE, you should grab the
bundle file below /src/sr and update and complete them.
Use the german translation as a template as described in the README
and ask me if more information needs to be added.
The module build will put all bundle files into one single module jar,
thus breaking the original idea (until NB 8) of localisation per
module suite.
The bundle files below src/locale are per source module jar. If you
need to update, complete and add many bundle files, maybe you'll find
a localisation tool, but I don't know what to recommend.
Be aware that if you're planning to release your translations as part
of Apache NetBeans, it is mandatory that all (!) license headers of
the bundle files must be fixed to the Apache License 2.0 header. This
is going to be tedious, because  many of the files are corrupted.
As an alternative, clone https://github.com/apache/netbeans-tools/ and
use convert/src/convert/ConvertAndCopy.java. It will copy an entire
tree of bundle files from one source dir (for example
/src/yourlocale), removing all comments (!) and adding the Apache
License 2.0 header. This makes sure that the headers are in order, but
it also causes a loss of information due to the deleted comments. (I'm
also adding this to the README.)

Hope it helps,
Boris



On Mon, 17 May 2021 at 08:44, Jan Hubený <[email protected]> wrote:
>
> Hi,
>
> I am only  a user of https://github.com/apache/netbeans-l10n
> <https://github.com/apache/netbeans-l10n> and in the mentioned pull
> request (partly in changes in README.md and partly in comments of pull
> request - https://github.com/apache/netbeans-l10n/pull/5
> <https://github.com/apache/netbeans-l10n/pull/5>) is roughly described
> how to integrate the localization into your "NetBeans platform based"
> applcation.
>
> As I understand it, the process consists of these steps:
> 1) Download the netbeans-l10n project via git.
> 2) Create localization folder for your language as is described in
> README.md in the pull request
> https://github.com/apache/netbeans-l10n/pull/5
> <https://github.com/apache/netbeans-l10n/pull/5>
> 3) WARNING - I'm not sure whether this is true, somebody who has better
> knowledge should validate and perhaps better explain this step.
>      Create somehow (this is not clear for me whether it is important
> and how to do it) the content for your language in folder
> netbeans-l10n/netbeans-l10n-zip/src (if it does not exist). Translate
> all Bundle_[language_code].properties files in the folder for your
> language (for example with https://omegat.org/ <https://omegat.org/>). I
> don't know how to check that your translation is complete, or where are
> the reference (template en_US) Bundle.properties files.
>
> 4) Build in netbeans IDE the subproject l10nantext (contained in
> netbeans-l10n project)
> 5) Build the netbeans module for your language (the project is in the
> folder created in step 2)
> 6) Add the module created in step 5) to your NetBeans platform based
> application project in netbeans IDE
> 7) Build your NetBeans platform based application in Netbeans IDE. After
> this step your application should contain the new localization module
> for your language.
>
> Further (only in my opinion), the authors of the
> https://github.com/apache/netbeans-l10n
> <https://github.com/apache/netbeans-l10n> project could better describe
> how to fully integrate this netbeans-l10n into your "Netbeans Platform
> Based" application, i.e. the recommended way how to integrate it in your
> git repository and to your ant or maven based build scripts.
>
> Regards,
>
> H.
>
> Dne 16. 05. 21 v 20:41 Zoran Sevarac napsal(a):
> > Thanks Jarda, this looks good.
> > There is even more info what to do at
> > https://github.com/apache/netbeans-l10n/pull/5/commits/824c2b072fd39dafd0990ea5b80e422d29dc25c0
> > Is this enough to create working translation?
> >
> >
> > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> > Virus-free.
> > www.avast.com
> > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > On Sun, May 16, 2021 at 10:07 AM Jaroslav Tulach <[email protected]>
> > wrote:
> >
> >> Hello Zoran.
> >> Resuscitating the NetBeans L10Ns would be great!
> >>
> >> Dne úterý 11. května 2021 21:28:36 CEST, Zoran Sevarac napsal(a):
> >>> Hi,
> >>>
> >>> I have two students at University of Belgrade Nikola Sicovic
> >>> [email protected] and
> >>> Nikola Radenovic [email protected] (already on the mailing
> >> list)
> >>> who will be translating NetBeans to Serbian.
> >>>
> >>> Is this the recommended way to do it?
> >>> https://github.com/apache/netbeans-l10n
> >>>
> >>> Any other recommendati/ons?
> >> I was recently contacted by Mr. Hubený and he created
> >> https://github.com/apache/netbeans-l10n/pull/5
> >>
> >> What should happen next isn't however clear to me.
> >> -jt
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >>
> >>
> >>
> >>
>
>
>
>
> D I S C L A I M E R
>
> Personal data protection according to Regulation (EU) 2016/679 of the 
> European Parliament and of the Council of 27 April 2016 on the protection of 
> natural persons with regard to the processing of personal data and on the 
> free movement of such data (General Data Protection Regulation)
> By e-mail communication with this e-mail address (especially by sending 
> e-mails and replies) you hereby agree with processing of yours personal data 
> especially in the scope of data contained in email and it`s attachments. Data 
> subject has the following rights: (i) to withdraw consent with personal data 
> processing , (ii) to ask SOMA company for information which personal data are 
> being processed, (iii) to ask for explanation regarding processed personal 
> data, (iv) to ask for access to personal data and right of rectification of 
> inaccurate personal data, (v) to demand erasure of personal data, (iv)  in 
> case of doubts regarding compliance with GDPR regulation right to raise 
> objections in front of SOMA company, court or the Office for personal data 
> protection.
> The SOMA company processes especially personal data of SOMA company`s 
> business partners. The SOMA company hereby politely asks it`s business 
> partners to not to send to SOMA company by e-mails or by any other means 
> personal data of any third persons (for instance business partners` 
> employees, participants of agreements, contracts or other legal relationships 
> etc.), these personal data will not be processed by SOMA company and will be 
> immediately erased. If you are not a business partner of SOMA company and you 
> are sending to SOMA company any personal data in any kind of form (for 
> instance by e-mail, data mailbox or by letter etc.) you hereby agree with 
> processing of your personal data in the scope of personal data sent by you 
> and you have right described in point (i) to (vi) hereof.
> The SOMA company is processing personal data especially due to the following 
> purposes: (a) processing is necessary for the performance of a contract to 
> which the data subject is party or in order to take steps at the request of 
> the data subject prior to entering into a contract, or (b) processing is 
> necessary for compliance with a legal obligation to which the controller is 
> subject, or (c) processing is necessary in order to protect the vital 
> interests of the data subject or of another natural person; or (d) processing 
> is necessary for the purposes of the legitimate interests pursued by the 
> controller or by a third party.
> Data subject is obliged to announce the SOMA company any changes of personal 
> data of the data subject.
>
> Confidentiality
> The information contained in this e-mail is confidential and is intended 
> solely for the use of subject to whom it is addressed and others authorized 
> to receive it. The text or attachments may contain confidential information, 
> privileged information or information considered by the law firm as the trade 
> secret. If you are not the intended recipient you are hereby notified that 
> any disclosure, copying, distribution or taking any action in reliance on the 
> contents of this information is strictly prohibited and may be unlawful. The 
> law firm is neither liable for the contents, nor for the proper, complete and 
> timely transmission of the information contained in this communication. By 
> usage of e-mail communication the recipient of this e-mail agree this kind of 
> communication with law firm and his potential risk and agree with unsecured 
> communication. For avoidance of any doubt law firm pays attention to the fact 
> that this e-mail including its attachments could not be in any case con
>  sidered as offer for conclusion of agreement pursuant to  § 1731 of act no 
> 89/2012 Coll. as amended, neither confirmation letter pursuant to the § 1757 
> of act no 89/2012 Coll. as amended.
>
> Our full GDPR policy may be found on www.soma-eng.com/en/gdpr
>
> Překlad výše uvedeného textu (Ochrana osobních údajů dle nařízení Evropského 
> parlamentu a Rady EU a Důvěrnost informací) naleznete na 
> www.soma-eng.com/cs/disclaimer



--
Boris Heithecker


Dr. Boris Heithecker
Lüneburger Str. 30
28870 Ottersberg
Festnetz: +49 4205 315834
Mobil: +49 170 6137015

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



Reply via email to