[Koha] tmpl_process3.pl script not running on Windows

arnab arnabsadhukhan at kolkatacdac.in
Thu Feb 8 18:04:52 NZDT 2007


Dear All,
 
I've changed the script as Serhij told but when running the script it is
giving the eror

C:\usr\koha227\scripts\misc\translator>tmpl_process3.pl create -r -i
opac-accoun
t.tmpl -s opac-account.po
Warning: Can't determine original templates' charset, defaulting to
ISO-8859-1
Removing empty file opac-account.po
'msgmerge' is not recognized as an internal or external command,
operable program or batch file.
Create FAILED.


Could any body tell what other changes to me made for running the script on
windows environment.

With Regards,
Arnab

Serhij Dubyk / Сергій Дубик wrote:
> 
>>  I'm trying to run the tmpl_process3.pl script on windows environmnet but
>> it
>> is giving error. Could any body plz tell me whether this scripts run on
>> windows platform or not.
> It running for me but script slightly modified:
> tmpl_process3.pl:
> #my $xgettext = './xgettext.pl';
> my $xgettext = 'xgettext.pl';
> (and small add for utf-8, if need I send)
> 
> Locale::PO also needed.
> And Win32 binaries of GNU gettext-tools 0.13.1 installed (this one only
> needed for creating clear po-files).
> 
>  For getting english_clear_opac_css.po used next command:
> perl tmpl_process3.pl create -r -i ../../../opac-html/opac-tmpl/css/en/ -s
> english_clear_opac_css.po
> 
>  For building templates used:
> mkdir ..\..\..\opac-html\opac-tmpl\css\uk
> perl tmpl_process3.pl install -o ..\..\..\opac-html\opac-tmpl\css\uk\ -s
> ..\..\..\..\css_opac_uk_UA\css_opac_uk_UA.po  -i
> ..\..\..\opac-html\opac-tmpl\css\en\ -r
> and manually copied some ommited files (images, js, ...)
> 
> 
> 
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-tmpl_process3.pl-script-not-running-on-Windows-tf3190287.html#a8859636
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list