I am adding other languages to our software, which works fine on my development machine, but on our test server we get the following error. I can't seem to figure out way? Google does not seem to be helping in this matter. I've tried to remove all but English from resources/lang, yet the message below remains the same.
removing \App::setLocale(\Request::server('HTTP_ACCEPT_LANGUAGE')); from my middleware helps, but I would like to know why it's working on my dev system only.
Invalid \"en_US,en;q=0.9,de;q=0.8,fr_FR;q=0.7,fr;q=0.6,pt;q=0.5\" locale. at /data/nginx/reminded_gaass/vendor/symfony/translation/Translator.php:441
Upon further testing, if I set the locale in google dev tools, under sensors, everything works, set to en, english, set to fr, french works. etc. Only if I don't over ride the settings does this error happen.