Yes no problem for translation... I just search the way to translate the IS_IN_DB error message.
I proceed like this for other validator : IS_NOT_EMPTY(error_message=T('my_translate_massage')) If there is an other more general way to do it I am open to any idea... validator message not translate by default... Richard On Wed, Nov 24, 2010 at 9:38 AM, mdipierro <mdipie...@cs.depaul.edu> wrote: > Can you translate other strings? Do other T(...) messages get > translated? > > On Nov 24, 8:27 am, Richard Vézina <ml.richard.vez...@gmail.com> > wrote: > > I need to translate IS_IN_DB Validator message. > > > > Richard > > > > On Tue, Nov 23, 2010 at 11:07 PM, Vinicius Assef <vinicius...@gmail.com > >wrote: > > > > > Are you getting some error message? > > > > > On Tue, Nov 23, 2010 at 7:43 PM, Richard Vézina > > > <ml.richard.vez...@gmail.com> wrote: > > > > Hello, > > > > I try this : > > > > db.table1.field1.requires=\ > > > > > > IS_IN_DB(db,'othertable.field1',orderby=('field1'),error_message=T('value > > > > not available')) > > > > But not working... > > > > How may I translate the IS_IN_DB error message? > > > > Should we have an other attribute for IS_IN_DB function? > > > > Richard > > > > >