What does App::getLocale()
return in the controller?
Have you ever cached your config files? (If so, you'll need to re-cache them every time you make a change.)
tdhsmith said:
What does
App::getLocale()
return in the controller?Have you ever cached your config files? (If so, you'll need to re-cache them every time you make a change.)
App::getLocale() return "en", means that no change.
I had clear cache with php artisan cache:clear
@tdhsmith, thx, i tried another command
php artisan config:cache
that works, the default locale changes.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community