How to make multi lang site |
[eluser]umefarooq[/eluser]
Hi how can I make multi lang site with CI any help tutorial code please share the experience.
[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
[eluser]umefarooq[/eluser]
thanks for help let me have look on it if i found any problem ill put my question here.
[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
[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. :-)
[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. |
Welcome Guest, Not a member yet? Register Sign In |