everything is passed by T('anything') go to languages/my_ln.py (like en_us.py).
So you have to manually translate the strings on that file. 2010/1/28 weheh <richard_gor...@verizon.net> > I haven't really worked with translation, yet. But I'm going to be > getting into it in a big way. I have > > db.define_table('content',Field('title'),Field('body')) > > I want to enter title and body in English, but then translate to other > languages. > Let's say I do this: > > rows=db(db.content.id>0).select() > for row in rows: > trans_title=T(row.title) > trans_body=T(row.body) > > Will something like that work? > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- Atenciosamente -- ========================= Alexandre Andrade Hipercenter.com -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.