koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] templates & translation


From: paul POULAIN
Subject: Re: [Koha-devel] templates & translation
Date: Thu Dec 11 03:42:02 2003
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.4) Gecko/20030630

Owen Leonard a écrit :
So i've written a little script that changed ALL 
<TMPL > to <!-- TMPL > 
in both OPAC and INTRANET.
    

Is that script in CVS?  I looked but didn't see it.  Maybe I just missed it.  
I'd like to be able to use it to convert our custom template.
  
No, but you can do it by :
* extracting strings from "en" template into tmp_en.txt
* creating an "en2" template with tmp_en.txt
* rebuild "en" from "en2" & tmp_en.txt
This works because :
- the tmpl_process.pl script need differents input & output dirs.
- the tmpl_process.pl replaces <TMPL by <!-- TMPL

That's how I builded new defaul/en template.

HTH
-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]