Hi, I need to change locale in runtime.
I use Kohana 2.3.4.
I defined default locale in file locale.php
When site language is changed I also change localePHP Code:
$config['language'] = array('no', 'Norsk');
But after redirection to any page locale gets it default value from locale.php.PHP Code:
Kohana::config_set('locale.language', array('en', 'United States'));
I didn't find any method to change locale in documentation.
Does anyone know why it doesn't work?