Re: [PHPTAL] Translation and HTML markup

2009-08-18 Thread Kornel Lesiński
On 18-08-2009 at 08:25:32 Alister Cameron alister.came...@cameroncreative.com wrote: I have this string as the translation key: You must be a href=path/goes/here title=Log inlogged in/a to post a comment. Two issues with it... 1. I want the href to be a variable. 2. I want the HTML

Re: [PHPTAL] Translation and HTML markup

2009-08-18 Thread Alister Cameron
Thanks heaps Kornel. Can I extend this with variable substitution of the href attribute? As: div i18n:translate=structureYou must be a i18n:name=loginlink href= title=Log in tal:replace=href tal/path/herespan i18n:translate=logged in/span/a to post a comment./div ?? -Alister 2009/8/18 Kornel

Re: [PHPTAL] Translation and HTML markup

2009-08-18 Thread Kornel Lesiński
On 18-08-2009 at 11:04:02 Alister Cameron alister.came...@cameroncreative.com wrote: Thanks heaps Kornel. Can I extend this with variable substitution of the href attribute? As: div i18n:translate=structureYou must be a i18n:name=loginlink href= title=Log in tal:replace=href