[eluser]Unknown[/eluser]
Hi. I wanna make a multilanguage website, but I do not want that the language appear in URI like example.com/fr/about (I do not want this). I just want to change the text language. My problem is that the first load language that I do is for ever. why?
If I do:
$this->config->set_item('language','english');
$this->lang->load('messages');
$this->config->set_item('language','french');
$this->lang->load('messages');
or
$this->lang->load('messages','english');
$this->lang->load('messages','french');
just the english appear. How can I fix this?
My config language autoload is empty.
Thank you for your help.