Welcome Guest, Not a member yet? Register   Sign In
Multiple lang

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?

Modify your config/autoload.php as follows

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

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

How call to display on view?

Theme © iAndrew 2016 - Forum software by © MyBB