On Thursday 17 May 2012 13:10 Kornel Lesiński wrote:
> On Wed, 16 May 2012 17:04:07 +0100, Thomas Tanghus <tho...@tanghus.net>
> 
> wrote:
> >  - We use PHP arrays for translations (don't ask me why), so using the
> > 
> > ${var}
> > notation gives undefined variable errors.
> 
> Use:
> 
> $translation['foo'] = 'Text ${var}'
> 
> or
> 
> $translation['foo'] = "Text \${var}"

That could work too. I just wanted a quick way to test the concept, then I can 
refine it as I go along :-)

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to