Welcome Guest, Not a member yet? Register   Sign In
Language problem in Production [solved]
#9

(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'.
But strange that unix on my MacOS X worked with the files '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.
Reply


Messages In This Thread
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 jaydee - 10-17-2020, 09:48 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



Theme © iAndrew 2016 - Forum software by © MyBB