Would you tell me how and where you implemented the T object and its force method? Thank you.
On Apr 28, 1:16 am, Álvaro Justen [Turicas] <[email protected]> wrote: > On Mon, Apr 27, 2009 at 7:06 PM, Vidul Petrov <[email protected]> wrote: > > Thank you, Álvaro. The problem is still there, I tried with the latest > > (revision 854) version ... > > > Could it be wrong usage of T operator in the model? > > I created a new app (myapp) in a 'fresh' downloaded version of web2py > from Google's SVN (rev 854). > > So I added to db.py: > > print T('Testing...') > > And opennedhttp://localhost:8000/myapp/default/indexin browser. So > that string "Testing..." was printed in terminal that I run web2py > (with python web2py.py -a my-admin-pass). > So, I found an entry for 'Testing...' > inhttp://localhost:8000/admin/default/edit_language/myapp/languages/pt-... > then translated it to "Testando..." and reloaded myapp/default/index - > finally, "Testando..." was printed in terminal. > So, I think T() is OK in models. > > -- > Álvaro Justen > Peta5 - Telecomunicações e Software Livre > 21 3021-6001 / 9898-0141 > http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

