in principle yes. what error do you get?
On Jun 4, 10:08 pm, suiato <[email protected]> wrote:
> On 6月5日, 午前1:47, JorgeR <[email protected]> wrote:
>
> > cool
>
> > this should go in the wiki under 'tips and tricks'
>
> Oh, inhttps://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 <[email protected]> wrote:
>
> > > 2009/06/04 12:57 mdipierro <[email protected]>:
>
> > > > 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---