Welcome Guest, Not a member yet? Register   Sign In
Language problem
#4

(06-27-2019, 03:04 AM)InsiteFX Wrote: You are loading the languages wrong.

PHP Code:
$this->lang->load('connect'$idiom[$langue]);

// should be
// you only load the language you need not an array.
$idiom 'english';
$this->lang->load('connect'$idiom); 
Thank you for your answer but the array is not the problem.
$langue values 'fr' or 'en' or 'es', so $idiom[$langue] values 'french' or 'english' or 'spanish', witch is correct since the language file is correctly found.
Reply


Messages In This Thread
Language problem - by ji_louis - 06-26-2019, 05:12 PM
RE: Language problem - by InsiteFX - 06-27-2019, 03:04 AM
RE: Language problem - by ji_louis - 06-30-2019, 08:07 AM
RE: Language problem - by includebeer - 06-28-2019, 05:37 AM
RE: Language problem - by ji_louis - 06-30-2019, 08:14 AM
RE: Language problem - by Wouter60 - 06-30-2019, 11:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB