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?
#5

I read the Wiki material in the past, but I didn't like it. I've got another implementation for CI3.

http://iridadesign.com/starter-public-edition-4/www/ - The default language English. There is an option for hiding the language segment for the default language, you can use it especially if the site supports only one language.
http://iridadesign.com/starter-public-edition-4/www/en/ - English again.
http://iridadesign.com/starter-public-edition-4/www/bg/ - Bulgarian
http://iridadesign.com/starter-public-edition-4/www/fr/ - French
http://iridadesign.com/starter-public-edition-4/www/pl/ - Polish
etc ...

A key precondition: The language segment is transparent for the routing system. Once it has been read it disappears from the internal array(s) that contain URI segments. Don't patch the routes.php configuration file about language support.
Reply


Messages In This Thread
RE: Add URI Language Identifier to core? - by ivantcholakov - 04-12-2015, 03:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB