Language problem in Production [solved] |
(10-18-2020, 12:27 PM)jaydee Wrote:(10-18-2020, 10:21 AM)includebeer Wrote: You can check with the debug toolbar if your language files are loaded or not. Also make sure to name your file correctly: first letter is uppercase and the rest is lowercase. Like this app/Language/en/Validation.php If your test server is on Windows it will probably work even if it's not correct. But the file systems on Linux is case sensitive. So it's important to name the files correctly.Thanks, man! This one worked like a charm! I didn't even think about it. My language files were 'app.php', now they are 'App.php'. This was driving me crazy - thank you for publishing your solution. I had the same issue with pushing to AWS from localhost. None of my language files appeared to exist anymore. However, my Language files started with the capital letter already. For example, I would have app/Languages/en/Default.php and it still did not work. I found that I had to uppercase the folder, so it became app/Languages/En/Default.php. |
Messages In This Thread |
Language problem in Production [solved] - by jaydee - 10-15-2020, 01:07 PM
RE: Language problem in Production - by InsiteFX - 10-15-2020, 11:44 PM
RE: Language problem in Production - by jaydee - 10-16-2020, 03:31 AM
RE: Language problem in Production - by InsiteFX - 10-16-2020, 08:14 PM
RE: Language problem in Production - by davis.lasis - 10-17-2020, 12:40 AM
RE: Language problem in Production - by jaydee - 10-17-2020, 09:48 AM
RE: Language problem in Production - by includebeer - 10-18-2020, 10:21 AM
RE: Language problem in Production - by jaydee - 10-18-2020, 12:27 PM
RE: Language problem in Production - by carmolio - 11-22-2022, 06:02 PM
|