Jump to content


translate certain phrase in edit action

edit

  • Please log in to reply
1 reply to this topic

#1 putoyair

putoyair

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 17 April 2013 - 05:20 AM

I have a doubt

 

I know we can change the language of grocery crud, with selected language located in 

 

 

 

assets/grocery_crud/languages/...
 

 

 

However I can not find the specific error message (so i can translate it)  

 

when we have a select list, the field is required and user do not select anything...

 

for instance check following image where we have a select list of species and user did not select any specie so following message is spaned

 

dd.png

 

How can I translate this code? where is it (it is not located in assets/grocery_crud/languages/)



#2 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts
  • LocationAthens, Greece

Posted 18 April 2013 - 06:29 AM

This is a message that is generated from the Form Validation class of CodeIgniter itself.

You can find these messages under system/language/english/form_validation_lang.php

 

For information how to make these messages multilingual

use the function : $this->form_validation->set_message('rule', 'Error Message');

check here under the sections Setting Error Messages,  Translating Field Names


____________________________________________________________

 

rtfm_small.jpg---!!!Please read these guidelines before asking to the forums!!!---

____________________________________________________________

 

David Oster aka George Pasparakis,
http://odphotography.com
http://eletter.gr






Also tagged with one or more of these keywords: edit

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users