Re: More ideas for translation support (long)

From: Date: Tue, 24 Jul 2001 09:29:24 +0000
Subject: Re: More ideas for translation support (long)
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1273@lists.php.net to get a copy of this message
On Mon, Jul 23, 2001 at 10:36:05PM +0200, Hans-Peter Oeri wrote: > Hi! > > Quoting Ralph Meijer <smarty@ralphm.ik.nu>: > > > use your own (rewriting) magic on resources BEFORE they are used > > further. > > If I understand your post, you suggest actually including different SOURCE > templates? However, what I suggest is one source template -> many compiled > templates. While I can think of solutions to include different SOURCE > templates w/o changing the core, accessing different COMPILED templates (w/ > only ONE source) definitely needs a core change, doesn't it? Maybe. I've been looking in the code, and if you would alter Smarty.class.php _fetch_compile_path() (in a subclass or otherwise), you could put the magic in there... Greetz, Ralphm

« previous php.smarty.general (#1273) next »