Multi language web - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Multi language web (/showthread.php?tid=76939) |
Multi language web - Ahmad Ali - 07-05-2020 Hi, I'm using localization to make my website Multi-language website so what I did is in the Language folder I added the following, en folder, and ar folder. So the structure is Language ar home_view.php en home_view.php and in the routes.php I added the {locale} like below PHP Code: $routes->get('{locale}/', 'Home::index'); 404 - File Not Found Controller or its method is not found: {0}::{1} so what I am missing? RE: Multi language web - InsiteFX - 07-06-2020 View files should go into the Views folder not the language folder. The Language folder holds arrays of the language definitions. |