CodeIgniter Forums
Language default + languages add - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Language default + languages add (/thread-69499.html)



Language default + languages add - microbica - 12-04-2017

Hello everyone
I want to install several languages, my question is
Example, i have Russian, German, English
i have
// in my English language
$ lang ['hello'] = "hello";
// in my German language
$ lang ['hello'] = "halo";
but i don't have it in Russian
Can i configure codeigniter so that if a line does not exist, i will default to English?


thanks! Big Grin

Cool Cool Cool