Multicountry and multilanguage website - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Multicountry and multilanguage website (/showthread.php?tid=79166) |
Multicountry and multilanguage website - endriu - 05-03-2021 Hi everyone! I need to develop a multicountry website in which each country can have 1 to 3 languages. The structure I would like to obtain looks like this: United States: example.com/us/en Germany: example.com/de/en example.com/de/de Switzerland: example.com/ch/en example.com/ch/fr example.com/ch/de So the URL will consist of: domain/country/language Furthermore, I will need to be able to customize content based on the selected country. Could you recommend me a method/tutorial to follow? Thank you! RE: Multicountry and multilanguage website - corin1 - 05-03-2021 (05-03-2021, 12:44 AM)endriu Wrote: Hey, since you did'nt specify what exactly you need help with (list of language, translation source, ...) I found you a great post, listing all the necessary variables going into multilanguage websites. RE: Multicountry and multilanguage website - InsiteFX - 05-03-2021 Start by reading these. CodeIgniter 4 User Guide - Localization CodeIgniter 4 User Guide - URI Routing Here is a tutorial on it also. CodeIgniter 4 Language Localization |