This all if you want real-time localization i.e. different language for every request.
On Feb 21, 12:29 pm, andrei <[email protected]> wrote: > Or you can create function that returns localized form every time. > > def myForm(): > return web.form(form.Textbox("title", notnull, > description=_("Title"))) > > On Feb 21, 11:03 am, jlist9 <[email protected]> wrote: > > > > > I see. I wanted to see if there is a cleaner (separate from code) > > solution but this will do. Thanks. > > > On Sat, Feb 20, 2010 at 11:47 AM, andrei <[email protected]> wrote: > > > You can inherit web.form class and override its render method to > > > output _() of descriptions and notes. > > > > On Feb 20, 8:56 pm, jlist9 <[email protected]> wrote: > > >> Is there an easy way to localize form labels? > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "web.py" 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 > > > athttp://groups.google.com/group/webpy?hl=en. -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
