Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 302 Bytes

10-I18n.md

File metadata and controls

12 lines (8 loc) · 302 Bytes

I18n

By default, all error messages are strings. But if you build an i18n'ized app, you can set message type in the form config to own type. E.g.:

type message = I18n.t;

Then errors returned from all validators must be of this type.


Next: Caveats →