[eluser]CodeIgniterNewbie[/eluser]
Not working for me, though. Here's a snippet of actual code:
Code:
$codeigniter_intance =& get_instance();
// $codeigniter_intance->lang->load('application', 'english');
$config['validations']['profile_update'] = array(
array(
'field' => 'name',
'label' => $codeigniter_intance->lang->line('lang_label_profile_name'),
'rules' => 'trim|required|xss_clean'
),
With the language loading commented out, I get nothing for label. If I uncomment it, 'label' gets what is specified in the language file. I've double checked, I am autoloading the 'application' language file:
Code:
$autoload['language'] = array('application');
What could I be doing wrong?