Welcome Guest, Not a member yet? Register   Sign In
Change autoloaded languages?
#1

[eluser]ev0c[/eluser]
Hi,

i'm using CIs Language class / helper for providing a multilanguage website. Everything works fine when i load the language files i need in every controller.
But i have some lang files i don't want to load every time because they should be avaiable globally. Therfore i autoloaded (autoload.php) these.

I thought because
Code:
$this->->config->set_item('language', $lang);
is changing the core language (form_validation ...) it would also autoload the specific language file in the other given language. But that's not the case -> it remains in the language like it was before the language change.

Am i doing something wrong?


Messages In This Thread
Change autoloaded languages? - by El Forum - 07-03-2011, 04:27 AM
Change autoloaded languages? - by El Forum - 07-03-2011, 04:50 AM
Change autoloaded languages? - by El Forum - 07-03-2011, 05:29 AM
Change autoloaded languages? - by El Forum - 07-03-2011, 05:33 AM
Change autoloaded languages? - by El Forum - 07-03-2011, 07:03 AM
Change autoloaded languages? - by El Forum - 07-09-2011, 12:56 PM
Change autoloaded languages? - by El Forum - 07-09-2011, 01:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB