Welcome Guest, Not a member yet? Register   Sign In
Multilingual application
#4

(This post was last modified: 09-14-2015, 04:07 PM by rtorralba.)

(09-14-2015, 03:14 PM)Camo Wrote: Thanks $view_data in MY_controller is a good idea.
But this route $route['^(\w{2})/(.*)$'] = '$2'; wont work if I want to call ie. home/index/7 ??? Am I right?
And what about that slash? Here it is non optional part of that regexp. Is that ok?

I think would be good that you have a default language and if always use it and redirect / (segment(1) empty) to /en (default language)
Greetings.
Reply


Messages In This Thread
Multilingual application - by Camo - 09-14-2015, 12:06 PM
RE: Multilingual application - by rtorralba - 09-14-2015, 02:43 PM
RE: Multilingual application - by Camo - 09-14-2015, 03:14 PM
RE: Multilingual application - by rtorralba - 09-14-2015, 04:06 PM
RE: Multilingual application - by Camo - 09-14-2015, 04:26 PM
RE: Multilingual application - by rtorralba - 09-15-2015, 02:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB