On Mon, Sep 02, 2013 at 12:54:44PM -0700, Iain Duncan wrote: > Hi folks, I've hit a snag with i18n, wondering if anyone has encountered > this and how they solve it. Chameleon does not complain about having less > than or greater than signs in templates, ie this is fine: > > <div tal:condition="repeat.block.index <= 4" > ... > > But when I run Babels' extract_messages command on the templates, it chokes > on the invalid xml from the < sign. Is there a decent way around this > mismatch?
Yeah, there are quite a few mismatches like this. I've also been looking for a solution. The i18n extraction is very strict with XML syntax while Chameleon is not. Only thing I could think of was re-writing the extraction to use the same parser as Chameleon. Though I'm not familiar enough with the Chameleon code to know where to start. > > thanks > Iain > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/groups/opt_out. -- Brian Sutherland -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
