skip to Main Content

How to add Laravel localization using php file?

I followed the documentation in https://laravel.com/docs/10.x/localization. I changed my 'locale' and 'fallback_locale' to 'fr' in config/app.php. The French translation works if I use: /lang/fr.json, but it doesn't work if I use /lang/fr/messages.php. No error messages nor warning, it just stays…

VIEW QUESTION
Back To Top
Search