[Koha] tmpl_process3.pl script not running on Windows

Thessalos thessaleys at gmail.com
Wed Sep 12 22:52:37 NZST 2007

Dear All,
I have the same problem with arnab, i want to translate the koha software in
greek language, and the tmpl_proccess3.pl don't work in windows with the
same errors with arnab, please someone give me the full instractions, and
the right commands (please the full paths) (i must put somewhere the win32
binaries of gettext? or what else must do).
my instalation of koha have this environment:
windows xp
apache server 2.2.4
mysql 4.1
active Perl 5.8.8
Koha 2.2.8

arnab wrote:
> 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#a12632089
Sent from the Koha - Discuss mailing list archive at Nabble.com.

More information about the Koha mailing list