Codeigniter multi language url
- by Thang Bui
Please help me. I search 2 hours but do not see any solutions for my case. My customer request me the multi language but they want the link as:
http://site.com/controller_name/lang_code Or
http://site.com/controller_name/paramenter1/parameter2/lang_code
The language code is always at the last segment. It is stored in the session. The url maybe also
http://site.com/controller_name/ Or
http://site.com/controller_name/paramenter1/parameter2/
In this case. The language stored in session will be loaded, but the url don't need to display it.
I try i18n library, but it cannnot solve my problem. Can anyone help me