![]() |
Language problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Language problem (/showthread.php?tid=35652) |
Language problem - El Forum - 11-06-2010 [eluser]Alix.G[/eluser] Hey, I have some trouble changing the language item of the config file, it seems that it's changing but it's not retrieving the right language. Here what I have done to test it: In one of my controller I created a function Code: function french() Thanks for your help Language problem - El Forum - 11-06-2010 [eluser]WanWizard[/eluser] Setting the language doesn't reload loaded language files. You have to either set the correct language as early as possible in the page request process, before language files are loaded, or reload all loaded language files after a switch of language. Language problem - El Forum - 11-06-2010 [eluser]Alix.G[/eluser] What would you recommend (without using uri language solution)? And how do I reload the language files? Thanks |