Thanks Emmanuel. I will test it out using your code.
Can I assume the syntax is the following:
en:
datamapper:
errors:
messages:
blank: "%{attribute} is required"
...
On Oct 18, 12:59 am, Emmanuel Gomez <[email protected]> wrote:
> Hi Paul,
>
> Internationalization support for validation error message is not available in
> the current release of dm-validations. However, code is written for this, and
> is slated for the 1.3.0 release of dm-validations (the next major release).
>
> In the meantime, you can use that code
> today:https://github.com/emmanuel/dm-validations
>
> Please let me know if you have any questions or issues with that code.
>
> —Emmanuel
>
> On Oct 17, 2011, at 9:37 PM, Paul wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I find to find out how I cam customize datamapper error messages using
> > files like en.yml? Is is supported like Activerecord?
>
> > Thanks,
>
> > Paul
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "DataMapper" 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
> > athttp://groups.google.com/group/datamapper?hl=en.
--
You received this message because you are subscribed to the Google Groups
"DataMapper" 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/datamapper?hl=en.