[web2py] Re: When does translation take place.

2012-07-05 Thread Annet
Thanks for your replies. ... and it will also be translated when you apply any operators, such as > testing for equality, concatenation, length, etc. So, T('Timetable') == > 'Timetable' will be False unless the translation language is English. > I'll leave the fields and menu item names as the

[web2py] Re: When does translation take place.

2012-07-05 Thread Anthony
> > So, if I have T('Timetable) which I translate to Lesrooster, will I be > able to compare it to a field called 'Timetable' in a view or has Timetable > been translated to Lesrooster before. > By default, T('Timetable') is a lazyT object, so isn't translated until necessary. It will be trans