Re: [PHPTAL] (no subject)

2010-09-15 Thread Ivo Võsa
GRolf wrote: I have records in a table that have a status field, which contains a status in 'code' (i.e. NEW, PENDING, APPROVED, ...). There is no conversion table for the moment When outputting this, I'd like to convert this status code to some more human-readable form ('Awaits approval',

Re: [PHPTAL] Translate field

2010-09-15 Thread Kornel Lesiński
On 15-09-2010 at 13:04:09 GRolf ger...@pictureparking.com wrote: I have records in a table that have a status field, which contains a status in 'code' (i.e. NEW, PENDING, APPROVED, ...). There is no conversion table for the moment When outputting this, I'd like to convert this status code

Re: [PHPTAL] (no subject)

2010-09-15 Thread Ivo Võsa
Tom De Bruyne wrote: Thanks for your feedback. It seems a viable solution, not too complicated. Afterwards I can just call this by using i18n? So, now I have td${status}/td That would need to become tdtal:block i18n:translate=${status}/tal:block/td or ... ? yes, my current