• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to configure a CI bilingual website online ?

#1
[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 ?





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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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