Changing language on the fly |
[eluser]PoWah[/eluser]
I have autoloaded one language file in autoload.php: Code: $autoload['language'] = array('application'); There are in this file common constants that I need in my application permanently. How I can change language on the fly? Tried Code: $this->config->set_item('language', 'nl');
[eluser]tonanbarbarian[/eluser]
If you reload the language file specifying a new language at run time (rather than in autoload) it will overwrite the current language elements. Language Class so try Code: $this->lang->load('application', 'nl'); |
Welcome Guest, Not a member yet? Register Sign In |