i18n question

how do i configure custom model messages in i18n. I have a custom
validation that calls a method snd upon failure, add an error to an
attribute. I understand how to do this for standard built in
validations.

thanks