• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make multi lang site

#1
[eluser]umefarooq[/eluser]
Hi
how can I make multi lang site with CI any help tutorial code please share the experience.

#2
[eluser]n0xie[/eluser]
There are several ways, but most rely on rewriting the url to add a language abbreviation to the url and serve the content based on that language.

I think these two are the most popular:
http://codeigniter.com/wiki/URI_Language_Identifier/
http://maestric.com/doc/php/codeigniter_i18n

#3
[eluser]umefarooq[/eluser]
thanks for help let me have look on it if i found any problem ill put my question here.

#4
[eluser]ebot[/eluser]
you can easily do that using smarty templating programming, i can mail some codes, if that can help. get in contact with me at ebot.tabi[at]gmail[dot]com

#5
[eluser]Phil Sturgeon[/eluser]
How would smarty help?

Also, how multi-lingual does it need to be? Does the content need to be in different languages or just the site itself?

Does it need language auto-detection, or URL based?

Please be as specific as possible. :-)

#6
[eluser]ebot[/eluser]
Phil,
i completed a social networking site using smarty templating at the front-end(view), it got a function that auto generate of languages. if you wish i can mail them to you. i am still looking on how to detect the browser's language then redirect to the appropriate language.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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