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
>
> 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
2 matches
Mail list logo