From: anna h. <an...@gm...> - 2013-12-02 19:50:51
|
Hi all, I reworked a script I found for this purpose and posted it: https://github.com/TriCollegeLibraries/smarty2php It's intended to take a first pass at this task, hopefully making it much less tiresome. There are places where the approach is limited and can't effectively translate due to an inability to determine semantics. There are also places where the script could be expanded to cover more cases. Pull Requests welcome. Best, Anna On Mon, Nov 25, 2013 at 3:19 PM, Demian Katz <dem...@vi...>wrote: > No, I’m afraid I did everything by hand. This will definitely be a good > thing to share. > > > > - Demian > > > > *From:* anna headley [mailto:an...@gm...] > *Sent:* Monday, November 25, 2013 3:16 PM > *To:* vuf...@li... > *Subject:* [VuFind-Tech] translating templates from smarty > > > > Demian, > > Did you automate this process? I found a python script on the Internet > that I am fixing up. Now that I'm almost done I thought to myself "I wonder > if Demian did this already." > > If not I will put it on github for others to use and improve. > > Anna > |