Some of my menus are generated using tables containing fields being True of
False. The problem is that the table fields are in English and the menu
items should be translated. I wonder whether translation happens before any
comparisons being made in a view or after.
So, if I have T('Timetable)
Don't know all the details. But it's best to leave logical things
outside of the translations. Otherwise you end up destroying your app
when someone does the translation change.
The translations can happen anywhere. They are executed as soon as you
run them.
So T('test') = test it is a string
2 matches
Mail list logo