Jeremy Quinn dijo:
> Dear All
>
> I noticed that when you use something like :
>
> form.getWidget ("email").setValidationError (
> new ValidationError ("validation.email.inuse")
> );
>
> then the i18n tag output by setValidationError() looks like this:
>
> <i18n:text catalogue="woody">validation.email.inuse</i18n:text>
>
> which means that any custom validation errors pretty much have to be
> kept in WoodyMessages which could well be inconvenient ....
>
> Is it really necessary for Woody to set the catalogue attribute in this
> situation?
I think Jeremy it is a good practice. Remember not all of us develop for
the english speaking market. In that way i18n is good.
Also I think it is better to have all your error messages in just one file.
Best Regards,
Antonio Gallardo