I used this simple way to set and store the locale setting in Laravel 5.6 using middlewares. The code is pretty basic, if there's a locale in the request then set the setting in session based on the parameter. …
I used this simple way to set and store the locale setting in Laravel 5.6 using middlewares. The code is pretty basic, if there's a locale in the request then set the setting in session based on the parameter. …