Codeigniter multi language url
        Posted  
        
            by 
                Thang Bui
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Thang Bui
        
        
        
        Published on 2012-06-12T10:38:52Z
        Indexed on 
            2012/06/12
            10:39 UTC
        
        
        Read the original article
        Hit count: 360
        
codeigniter
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
© Stack Overflow or respective owner