Re: [TF-dev] help building netbeans locales
Enrique Estevez <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.translated-files.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, My English is very bad. I do not know what is the error, but can tell you how we did. Following these steps, we get the compilation of our translation to distribute. Our steps to translate the current versión of netbeans was this (version 6.5 ou upper) 1. Download the source code for this release. At this time is release67_beta osl@usc:~$ hg clone http://hg.netbeans.org/release67_beta (This downloads the source code for compile and test before. This creates a folder at our home this the name release67_beta) 2. Compile the source code osl@usc:~$ cd release67_beta osl@usc:~/release67_beta$ ant 3. Next lets compile the nbms osl@usc:~/release67_beta$ ant build-nbms 4. Download the l10n package osl@usc:~/release67_beta$ hg clone http://hg.netbeans.org/main/l10n (This downloads a bunch of scripts for work with translations. Download all the oficial translations for this version of netbeans 5. Generate the l10n-kit (source strings for translate) osl@usc:~/release67_beta$ ant l10n-kit Extract the files with the strings to translate. Generates a zipped file with the name l10n.zip in nbbuild folder inside the folder release67_beta. 6. Translate the sources of OmegaT They are in the path: /home/osl/release67_beta/nbbuild/l10n.zip Unzip the zip file and put it in the source folder OmegaT project. Generate the documents translated with OmegaT. 7. Where to put the translated files with OmegaT? On the src folder that is inside l10n have to create a folder for your language. In my case, the Galician, will be called gl_ES. osl@usc:~/release67_beta/l10n/src$ mkdir gl_ES (/home/osl/release67_beta/l10n/src/gl_ES) The translated files are copied to the folder gl_ES. 8. Compile the translation. osl@usc:~/release67_beta$ cd l10n osl@usc:~/release67_beta/l10n$ ant -Dlocales=gl_ES Translation compiled, to be in jar files inside the dist folder, which is inside the folder l10n. 9. Compress the translation to distribute. osl@usc:~/release67_beta/l10n$ cd dist osl@usc:~/release67_beta/l10n/dist$ tar cjf ../gl_ES.tbz * 10. Install the translation on a computer. You have to unzip the file translations in the root directory of the installation of netbeans. In my case, in this path: /home/osl/release67_beta/nbbuild/netbeans osl@usc:~/release67_beta/l10n/dist/$ cd .. osl@usc:~/release67_beta/l10n$ tar xfj gl_ES.tbz ../nbbuild/netbeans/ 11. Run netbeans in my language osl@usc:~/release67_beta/l10n$ cd ../nbbuild/netbeans/bin/ osl@usc:~/release67_beta/nbbuild/netbeans/bin$ ./netbeans --locale gl:ES NOTE: This process had an error when compiling my language translation (step 8). I could not find any folder, it produced an error and stopped. With some folders and files also had to change the permissions. We eliminate those folders and already compiled. Although I do not answer your question, I hope to help you. Regards ----- Mensaje original ----- De: "stan ioan-eugen" <[email protected]> Para: [email protected] Enviados: Miércoles, 26 de Agosto 2009 17:52:32 GMT +01:00 Amsterdam / Berlín / Berna / Roma / Estocolmo / Viena Asunto: Re: [TF-dev] help building netbeans locales În data de Ma, 25-08-2009 la 08:47 +0900, Masaki Katakai a scris: > Hi Eugen, > > http://translatedfiles.netbeans.org/servlets/ReadMsg?list=dev&msgNo=5548 > > Please check the references again which I sent before. > > Let's clone release67_fixes and release67_fixes/l10n. > You need to put your files into l10n/src/<lang>. > > Regards, > Masaki > > 09.8.25 5:30 AM, stan ioan-eugen wrote: > > Hello, > > > > I need help building netbeans locales. I did the following: > > > > hg clone http://hg.netbeans.org/main-golden and ant in the main-golden > > folder. A few hours and it's stil compiling. > > How do I build the locale data? Where do I put the files I modiffied? > > > > > > Thanks, > > > > --eugen > > > I get BUILD FAILED [mkdir] Created dir: /home/ieugen/lucru/release67_fixes/ide.ergonomics/build/classes/org/netbeans/modules/ide/ergonomics/apisupport [nbmerge] Failed to build target: all-ide.ergonomics BUILD FAILED /home/ieugen/lucru/release67_fixes/nbbuild/build.xml:677: The following error occurred while executing this line: /home/ieugen/lucru/release67_fixes/nbbuild/build.xml:672: The following error occurred while executing this line: /home/ieugen/lucru/release67_fixes/nbbuild/build.xml:719: The following error occurred while executing this line: /home/ieugen/lucru/release67_fixes/ide.ergonomics/build.xml:111: The following error occurred while executing this line: /home/ieugen/lucru/release67_fixes/ide.ergonomics/build.xml:205: /home/ieugen/lucru/release67_fixes/nbbuild/netbeans/apisupport1/${ergonomic.clusters.extra} not found. Can i do something to get over it? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]