CodeIgniter Forums
How to configure a CI bilingual website online ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How to configure a CI bilingual website online ? (/showthread.php?tid=61139)



How to configure a CI bilingual website online ? - El Forum - 09-29-2014

[eluser]Unknown[/eluser]
I created a bilingual website on CI with using a lang parameter in the urls.

example :
/en/news/i-am-cool
/fr/actualites/je-suis-sympa

These two urls redirect both on the same controller and action, only the view / texts change according to the lang indicated in the url.

My wish is now to use two domains to access the two versions online :
/en/news/i-am-cool > http://www.mywebsite.com/news/i-am-cool
/fr/actualites/je-suis-sympa > http://www.mywebsite.fr/actualites/je-suis-sympa

I didn't come to configure my htaccess and dns, because i must manage two virtual directories (/en, /fr), take into account the suppression of index.html and the redirection of 'without www.' on 'with www.' ....

Could you help me ?







How to configure a CI bilingual website online ? - El Forum - 10-01-2014

[eluser]Webmister[/eluser]
I want to have my website in 3 different languages, from where can i download the language pack, please help.