Codeigniter multilanguage and adding the language

2019-01-24 06:21发布

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...

1条回答
▲ chillily
2楼-- · 2019-01-24 07:07

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

查看更多
登录 后发表回答