Welcome Guest, Not a member yet? Register   Sign In
$this->validation->set_message simple issue
#1

[eluser]EEssam[/eluser]
Hello,

The app I'm coding is not in English, so I'm trying to do the following:

// username
$rules['username'] = "required";
$this->validation->set_message($rules['username'], 'username is a required field in my language');

// password
$rules['password'] = "required";
$this->validation->set_message($rules['password'], 'password is a required field in my language');

The problem is I'm getting "password is a required field in my language" for both fields Sad

For instance, I just can't write:

- Username est un champ obligatoire (in french), it should be something like:

- Le nom d'utilisateur est un champ obligatoire

How can I overcome this problem?

Your help would be greatly appreciated.


Messages In This Thread
$this->validation->set_message simple issue - by El Forum - 06-09-2008, 04:23 PM
$this->validation->set_message simple issue - by El Forum - 06-09-2008, 04:30 PM
$this->validation->set_message simple issue - by El Forum - 06-09-2008, 04:34 PM
$this->validation->set_message simple issue - by El Forum - 06-09-2008, 04:45 PM
$this->validation->set_message simple issue - by El Forum - 06-09-2008, 05:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB