[eluser]harfaspaul[/eluser]
My first post here, so a big hello goes to everyone.
I`m working on a website using CI, and I want to implement Language-based SEF URL`s. I`m already using the URL language identification library, so at the moment the URL`s look like this : http://<host>/<language>/<class>/<function>
There will be 3 languages for the user to choose from : English, Romanian and Hungarian (en, ro, hu - in the URL). What I`d like to do is have the class and function names change depending on the active language, but still keep it all in just 1 file (1 controller) rather than having different controllers for each language...
Ex : English : http://<host>/en/about/history
Romanian : http://<host>/ro/despre/istoric
My question is if there`s any way to do this, except the obvious .htaccess or routes.php? Based on info stored in the DB maybe?
Thanks for your help.
Paul.