Welcome Guest, Not a member yet? Register   Sign In
Poll: URI language identifier in core?
You do not have permission to vote in this poll.
yes
52.38%
22 52.38%
no
26.19%
11 26.19%
maybe
21.43%
9 21.43%
Total 42 vote(s) 100%
* You voted for this item. [Show Results]

Add URI Language Identifier to core?
#33

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


Messages In This Thread
RE: Add URI Language Identifier to core? - by mwhitney - 04-28-2015, 09:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB