Re: [PHPTAL] i18n:translate and dynamic tal:content

2009-11-23 Thread Kornel Lesiński
On 23-11-2009 at 05:28:13 lo...@nic.fi wrote: I want my translator to translate if there's a translation available and use the key text when there isn't. So I added a few lines to translate function. Does this seem like a good way of doing this? public function translate($key,

Re: [PHPTAL] i18n:translate and dynamic tal:content

2009-11-23 Thread Tjerk Meesters
Hi, What do you mean by all-whitespace translation keys? I hope that doesn't mean i18n:translate= will stop working, because we rely heavily on this feature ;-) On 11/23/09, Kornel Lesiński kor...@aardvarkmedia.co.uk wrote: On 22.11.2009, at 20:16, lo...@nic.fi wrote: I'v got a problem