Hi Jaume,

a <validator> tag accepts a "translation_domain" attribute which you  
can use to specify the domain from which translations are pulled.

Hope that helps!

Cheers,


David




Am 12.01.2007 um 17:57 schrieb Jaume Planas:

> Hi all,
>
> One of the reasons I'm using Agavi framework is its focus on
> internationalization using I18n. My question is, when using  
> Validation,
> the error messages are defined in XML configuration files. Which is  
> the
> proper way (if any exists) to include these error messages in the  
> normal
> I18n translation process? I'm not a very good PHP programmer and I  
> don't
> dare to rewritte/extend Agavi validation core classes. Or should I,
> because is the only way to handle the translation? Or maybe I'm  
> missing
> an obvious point.... Is there anybody out there experiencing the same
> problem?
>
> Best regards,
>
> Jaume Planas
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
>


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to