(04-28-2015, 08:14 AM)ivantcholakov Wrote: Simply, the initiator of this thread formulated the topic in narrow meaning.
my-site/en/my-page - this is what he wants.
en.my-site/my-page - this is possible also, with a small amount of additional code, why should we neglect this option.
This is why I think it would be better to have a method of recognizing language codes, rather than focusing on a particular routing solution (or a particular set of routing solutions). Once something like that is in place, it becomes fairly easy to give a couple of examples of how it could be utilized by the routing to support the developer's needs, rather than forcing them to choose between a built-in method or implementing their own solution.
Besides, any of these routing methods could be implemented at the server level, which would make the routing within CodeIgniter a non-issue.