Codeigniter system/language application/language whats the difference?
Hey, in CodeIgniter i have language folder inside my system and inside my ap开发者_如何学编程plication folder... when im trying to load a language file he trys to load vom the system/language folder
whats the matter of the application/language folder?
my first try was to put the stuff in there and not in the system folder.. this would make more sense in my eyes!?
From the docs:
If the directory does not exist or the specified language is not located there CI will instead look in your global system/language folder.
File/folder structure is very important~
So your english language
file must be called (eg) error_Lang.php inside application/language/english
Call it like so:
$this->lang->load('file', 'language');
I'd read up the docs, has everything you need
精彩评论