CodeIgniter Forums
Multiple lang - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Multiple lang (/showthread.php?tid=51660)

Multiple lang - El Forum - 05-12-2012

I want to use multiple lang directly from system\language, and I want to add new file(general_lang.php) with language_key.

how can I used language_key from general_lang.php without adding on all pages "$this->lang->load('filename', 'language');" where must be added page general_lang.php to work?

Multiple lang - El Forum - 05-12-2012

Modify your config/autoload.php as follows

$autoload['language'] = array('general');

Multiple lang - El Forum - 05-14-2012

Example i have language_key
$lang['success_login'] = "Success login.";

How call to display on view?