samedi 27 février 2016

PHP Gettext not showing correct language in Laravel

When I change language the first time it works perfectly. However, when I refresh the page the translation is back to english again, even though the language selector still says "Danish" and getLang returns da_DK.... Then when I run php artisan cache:clear it works the first time I refresh, but second time it is back to english again.

Any ideas what could be wrong here?

I am using the package http://ift.tt/1Ngew03 to translate. Laravel 5.2.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1TFnLts
via IFTTT

Aucun commentaire:

Enregistrer un commentaire