CodeIgniter Forums
How to translate the errors from Form Validation Class? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: How to translate the errors from Form Validation Class? (/thread-28019.html)



How to translate the errors from Form Validation Class? - El Forum - 02-27-2010

[eluser]Sinclair[/eluser]
Hi,

I'm developing a website that is no in English. How can I translate the errors from the Form Validation Class. It is also possible to add custom error messages in the Form Validation Class?

Best Regards,


How to translate the errors from Form Validation Class? - El Forum - 02-27-2010

[eluser]JoostV[/eluser]
Read the user guide Smile


How to translate the errors from Form Validation Class? - El Forum - 07-07-2011

[eluser]Unknown[/eluser]
You would have to look in system/language/english/form_validation_lang.php
And create your language file in application/language/... where you would override the above language file. Also have to change your default language in application/config/config.php