Mainlanguage file include - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Mainlanguage file include (/showthread.php?tid=11946) |
Mainlanguage file include - El Forum - 09-29-2008 [eluser]hykoh[/eluser] Hello, i dont know how to solve the following problem: In every view i load a header and a footer view with menucontent in it ... but i dont know how to load a "main" language file for it. if i try to put this line: $this->lang->load('main', $this->config->item('language')); anywhere, it give me an error that the instance doesnt exists. i need to load this main language file for EVERY site request. Can anybody help me ? Thanks alot! Best regards Mainlanguage file include - El Forum - 09-30-2008 [eluser]hykoh[/eluser] can nobody help ? its urgent :/ Thanks Mainlanguage file include - El Forum - 09-30-2008 [eluser]hykoh[/eluser] RTFM ... :xx Sorry .. you can close this thread, i read the manual and have seen the autoload function for languages in the autoload.php :o sorry |