I posted an entry on my blog about the subject, I hope this helps:
http://codelog.climens.net/2009/03/04/nhibernate-validator-custom-messages/

If someone thinks that it's interesting to put this on the wiki, I
have no objections and I can do it myself.

On Mar 3, 6:09 pm, s_tristan <[email protected]> wrote:
> Can you share this Interpolator?
>
> On 3 мар, 11:46, Marc Climent <[email protected]> wrote:
>
> > Sorry, I meant the possibility of specifying a custom Resource bundle
> > to override some default messages with localization.
>
> > Finally I am creating my own Interpolator that works like the
> > DefaultInterpolator but tries to get the messages from the local
> > resources for some default validators and for my own ones. Then if not
> > found returns the message from the defaultInterpolator. This is the
> > most flexible solution I've found.
>
> > Thanks for the responses.
>
> > On 2 mar, 23:56, Dario Quintana <[email protected]> wrote:
>
> > > Which feature ?
>
> > > {floor.out.of.range} is the name of a resource string, you can use it.
>
> > > On Mon, Mar 2, 2009 at 8:49 PM, Marc Climent <[email protected]> 
> > > wrote:
>
> > > > Anyway, will this feature be available in the future? Can I do
> > > > something about it?
>
> > > --
> > > Dario Quintanahttp://darioquintana.com.ar-Скрыть цитируемый текст -
>
> > - Показать цитируемый текст -
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to