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