you can do str(T(....)) to force a translation

there is not way of doing T(bla) where bla is anything but a constant
string. You would not what to translate at development time.

All web frameworks work this way for the same reason.

Massimo

On Jan 4, 8:26 am, Fran <[email protected]> wrote:
> On Jan 4, 1:08 pm, mdipierro <[email protected]> wrote:
>
> > There is no way you ca translate 'Add %s' % single because at the
> > moment of translation you do know know the value of the variable
> > single.
>
> Is there no possibility of creating an EarlyT type (vs LazyT) so that
> translations happen at a lower level?
>
> F
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to