R: [weps-devel] Italian Translation
Status: Beta
Brought to you by:
aleix
|
From: Nicola <ni...@li...> - 2002-10-27 11:14:32
|
I wasn't able to compile it. Can you do it for me? I authorize you to insert this translation in Your distribution. Regards. Nicola -----Messaggio originale----- Da: wep...@li... [mailto:wep...@li...] Per conto di Aleix Conchillo Flaque Inviato: sabato 26 ottobre 2002 11.24 A: wep...@li... Oggetto: Re: [weps-devel] Italian Translation "Nicola" <ni...@li...> writes: > I would like to translate weps into italian. > can you give me a little explanation on how to do it? > sure. it is really easy. the internationalization (i18n) in WePS has been done with gettext. So the first thing you need installed in your system is gettext (this doesn't work in windows systems). if you have gettext installed (most systems have it) then you need to setup locales for italian (if you have an italian system it would probably have been done when you installed it). Steps to translate WePS ----------------------- 1. create directory inside the locale/. the directory must be called like you country code. for example, for catalan, the directory is called: "ca_ES" that is, the catalan language in spanish country. For italian i think it must be "it_IT" but i'm not sure. 2. create another directory inside you "it_IT". call it LC_MESSAGES. 3. copy weps.po inside the LC_MESSAGES directory. you can find weps.po inside the locale/scripts directory. 4. edit your weps.po and fill the spaces with your transaltion. you must keep the english message, you just need to fill the empty spaces. you can also edit your name in the top of the weps.po. just take a look at it, it's really easy. 5. once you have finished the translation. go to locale/scripts and run: ./compilepo it_IT this will generate a weps.mo file in your translation directory. 6. edit the inc/languages.php and add the italian language to the list. this list is the one that is shown in the web site. 7. you can edit inc/config.php and change the variable LANG to your new added language. this will take the italian language as the default language for WePS. that's it. remember to run compilepo each time you change anything to your weps.po. if you have any problem you just need to report them. best regards, aleix ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ weps-devel mailing list wep...@li... https://lists.sourceforge.net/lists/listinfo/weps-devel |