D
D
Dmitry2019-05-21 13:32:23
Laravel
Dmitry, 2019-05-21 13:32:23

How to change locale in Laravel 5.7?

Hello, in Laravel in the settings in the file

config/app

Changed the locale to Russian
5ce3d3302f327648336347.png
but {!! dd(App::getLocale()) !!}
displays
en

Cleaned everything, restarted openserver but does not help.
Where is the mistake?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Kolesnikov, 2019-05-21
@ddimonn8080

php artisan config:clear

L
LaraLover, 2019-05-21
@LaraLover

Have you cleared the cache? :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question