Re: [PHPTAL] macros with optional translation

2011-02-15 Thread Kornel LesiƄski
On Tue, 15 Feb 2011 11:13:19 -, Robert Goldsmith wrote: Idea 1: Create a fake translation class that doesn't actually translate and which is registered if translation is disabled. Idea 2: Use conditionals to check if translation is enabled and have translated and non-translated version

Re: [PHPTAL] macros with optional translation

2011-02-15 Thread Marco Pivetta
I currently use a dummy translator if I don't want my templates to be translated... The overhead is almost 0 :) Marco Pivetta @Ocramius http://marco-pivetta.com 2011/2/15 Robert Goldsmith > Hi again everyone :) > > Currently, the Ztal form macro for rendering Zend