Multilanguage |
Hi ,sorry for english , i see this tutorial to implement multilanguage :
https://www.codexworld.com/multi-languag...deigniter/ My answer is , must i create a single file for every language or multiple file ? If i create multiple file how can i switch ?
Yes, multiple files per language, each language in its own subfolder beneath application/language.
The article you mention shows three ways to switch between them, and they look reasonable.
(01-18-2019, 01:30 PM)ciadmin Wrote: Yes, multiple files per language, each language in its own subfolder beneath application/language. if i create mltiple file language , how can i import automatically ? In my application alwais i do in every method of controller: PHP Code: $data['title_site'] ='Site title' in header i have : PHP Code: <title><?= $title_site ?></title> How can i change depends on language ? Another quetion , how can i change the form_validation message error? |
Welcome Guest, Not a member yet? Register Sign In |