Q:

Laravel 5.4 Multi Language Locale not working in production server

I'm not getting any errors when switching languages on my production server. 
I can see the session value being changed as the flag on my navbar changes but setting the locale isn't working.
Everything works fine on localhost though.
Im not quite sure where to approach this problem from so I'd really appreciate it if someone can point me in the right direction.

A:

It looks like you need to clear config cache at production:
php artisan config:cache

This came to my mind when I read your comment:

Yes. Apparently, I played around with the config and the locale is always falling to the fallback_locale section of the config file app.php. I tried setting fallback_locale to my second language and the site did infact change language. But I was then unable to switch back to the first language.

