• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multicountry and multilanguage website

#1
Question 
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!
Reply

#2
Wink 
(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.


https://stackoverflow.com/questions/2487...ge-website

I hope this helps.
Reply

#3
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
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.