When writing {{=XML(str(T(...)))}}} lines for translation here and there, I realize it might be better to modify T(), wrapping the current T() with XML(str()). It will be simpler in expression, and won't break the compatibility, will it? Otherwise, you might end up with typing lots of {{=XML(str(T(...)))}}} in the source code when internationalizing.
-- Teru On 6ζ4ζ₯, εεΎ12:01, suiato <homm...@gmail.com> wrote: > 2009/06/04 11:16 mdipierro <mdipie...@cs.depaul.edu>: > > > > > It can > > > <li>{{=XML(str(T('Users can access the store <a href="%s">here</a>', > > (request.application)))}}</li> > > > Massimo > > Wow, great! > It worked after adding a paranthesis ) to close XML. (The correction > was easy to make thanks to the friendly editor in web2py.) > > Thanks a lot. > > -- > Teru --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---