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

[eluser]Gabi3xz[/eluser]
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?
#2

[eluser]vrencianz[/eluser]
Modify your config/autoload.php as follows

Code:
$autoload['language'] = array('general');
#3

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

How call to display on view?




Theme © iAndrew 2016 - Forum software by © MyBB