11

I read this the best way to make codeigniter website multi-language. calling from lang arrays depends on lang session?

for language inclusion... i wonder how the url will appear for multi languages...

How to show the language in url so that it will also be indexed in search engines...

for example sitenameDOTcom/es or sitenameDOTcom/whoweare/es or something like this and how to sync with the controllers and the urls...

Community
  • 1
  • 1
Jayapal Chandran
  • 10,600
  • 14
  • 66
  • 91

1 Answers1

22

ah, i found an article in the codeigniter forums. here it is ...

https://github.com/EllisLab/CodeIgniter/wiki/URI-Language-Identifier

previously the url was like the following and now it doesn't work. http://codeigniter.com/wiki/URI_Language_Identifier/

and here is a live example i am using

http://vikku.info/wordreminder/en

Jayapal Chandran
  • 10,600
  • 14
  • 66
  • 91
  • and yet there is another huge one. just look at it. http://codeigniter.com/wiki/i18n_Multi-language_Library_Helper/ – Jayapal Chandran May 14 '10 at 00:58
  • Thanks for posting that link. The URI_Language_Identifier was just what I wanted. Simple URL language specification and nothing else. – justinl Dec 28 '10 at 23:21
  • 4
    url changed to: https://github.com/EllisLab/CodeIgniter/wiki/URI-Language-Identifier – pit Dec 12 '12 at 22:58