[PHPTAL] i18n:translate and dynamic tal:content

2009-11-22 Thread loupe
Hi, I'v got a problem translating text that is printed dynamically from a mysql database. I'm printing body part names and the related muscle names by using nested tal:repeat. In the inner loop I'd like to echo the muscle name and translate it if there's a translation available. Here's what I

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

2009-11-22 Thread Kornel LesiƄski
On 22.11.2009, at 20:16, lo...@nic.fi wrote: > I'v got a problem translating text that is printed dynamically from a mysql > database. I'm printing body part names and the related muscle names by using > nested tal:repeat. In the inner loop I'd like to echo the muscle name and > translate it if

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

2009-11-22 Thread loupe
On 22.11.2009, at 20:16, lo...@nic.fi wrote: I'v got a problem translating text that is printed dynamically from a mysql database. I'm printing body part names and the related muscle names by using nested tal:repeat. In the inner loop I'd like to echo the muscle name and translate it if the