Skip to content
Advertisement

Laravel : App::setLocale doesn’t work

I’m using laravel 5.1, I’m trying to update locale in app file like this : In Locale Middleware file :

JavaScript

Any idea about this ??

Advertisement

Answer

Oooof finally after two hours ><‘ !! It’s the line place of locale class in middleware -.-‘ !!! I set it in last line like this :

JavaScript

and All is fine and working ! thanks for you all :))))

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement