Johan André Sun Nov 20 08:31:24 -0500 2011

Subject: Translate validation strings?


I'm using PHPAR with Codeigniter (the spark version) and can't figure out how to translate my validation messages into another language (swedish). The error string is easy to translate (by supply a custom error string in the model) but the property name is not. It uses the property name as base for the error output.

The property 'title' would be 'Title', giving the error message "Title needs to be filled out.".
Translated into swedish I need it to be "Huvudrubrik måste fyllas i".

I've read the docs but could not find any way to configure it.

Please help!