Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel 9 localization not working on live server

4

So I found the solution, the "problem" was that I didn't removed the resources/lang directory so Laravel was using that directory instead of the lang directory in the base path of the application.

After removing the resources/lang directory it worked as expected. Thanks to @lagbox comment.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Laravel #localization #working #live #server
ADD COMMENT
Topic
Name
1+5 =