Loading language files |
[eluser]K-Fella[/eluser]
How come you can't load multiple language files using an array? Code: $this->lang->load(array('user', 'page')); By the way, I think loading language files should be done using: Code: $this->load->language(); This (to me anyway) is more in keeping with the coding practices of CI.
[eluser]danmontgomery[/eluser]
Code: $this->load->language('user');
[eluser]K-Fella[/eluser]
I never knew you could write it like that. I guess because nothing is mentioned in the user guide
[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-gui...oader.html Quote:$this->load->lang('file_name') |
Welcome Guest, Not a member yet? Register Sign In |