On 6月5日, 午前1:47, JorgeR <jorgeh...@gmail.com> wrote:
> cool
>
> this should go in the wiki under 'tips and tricks'

Oh, in https://mdp.cti.depaul.edu/wiki/ ?
Actually, it'd be nice to have a topic on translation/i18n/l10n.

>
> On Jun 3, 11:08 pm, suiato <homm...@gmail.com> wrote:
>
> > 2009/06/04 12:57 mdipierro <mdipie...@cs.depaul.edu>:
>
> > > In model you can just do
>
> > > Tx=lambda *a: XML(str(T(*a))
>
> > > and use Tx instead.

In my current effort to translate eStore, XML(T()) for links works
well and I'm happily using it.

I still need to work on making the above lambda function work.
Do I just add the line into the model store.py? My first try was not
successful.

--
Teru


>
> > This is a good learning experience for me. Lots of thanks, Massimo.
>
> > By the way, XML(T()) seems to work when I tested with an example.
>
> > Cheers,
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to