J
J
JohnDaniels2017-08-03 11:44:12
Laravel
JohnDaniels, 2017-08-03 11:44:12

Why doesn't the trans() function work?

What am I doing wrong?
AT

config/app.php
:
e49335a945554c0a93a529e728cec0c7.PNG
Localization files:
da271239a4e24927be2773c396a1d837.PNG
File
resources/lang/en/auth.php
:
46f5728c54cb4ec1a31ad24a339c2ac8.PNG
Checking:
2f0181b83a754667901a0a8978e0bc40.PNG
Getting:
da73dba42784454d8782777b87ffe354.PNG
Laravel 5.4

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D3lphi, 2017-08-03
@D3lphi

Do you happen to have the application configuration not cached? Perhaps earlier, you had a different locale. Try clearing the contents of the bootstrap/cache folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question