This question already has an answer here:
I've been researching for hours and hours, but I could not find a clear, efficient way to solve my problem.
I have 2 templates(header+content+footer) in Arabic & french. For each language different pages and different functions are in my controller. How can I make a multilingual website?
To pass in my link ?lang=fr
or ?lang=ar
without compromising my link which is similar to: localhost/site/controleur/method/id
Ps: i'm using a mysql db .
</div>