Sorry, just made some extra tests... Try this one on your machine... It didn't use the Laravel funct...
Your code works on my machine and I got this as HTTP response:
Ok, if it isn't still solved, we will look at the problem from another point of view... In firefox/c...
Here are the two pieces of code: app/start/global.php $languages = ['en','ar']; $locale = Request::s...
That's not really a good place for that code... Better try to put this code in one of you start file...
The Laravel portal for problem solving, knowledge sharing and community building.