Closed Atif-Bashir-1998 closed 2 years ago
If anyone else is getting the same issue, the main reason that the database
driver is not working is that the translations are not synced.
To solve the issue, follow these steps:
driver
to database
in config/translation.php
, run php artisan migrate
php artisan translation:sync-translations
Description of the bug Using the "database" driver does not translates the text on
/languages
page and it also gives an error of Invalid argument supplied for foreach()To Reproduce Steps to reproduce the behavior:
http://localhost:8000/languages
Expected behavior Expected behavior should be similar regardless of the type of driver
Screenshots![image](https://user-images.githubusercontent.com/62744034/177195961-88db24cc-4c2f-44eb-bc56-2aa0c3ef483c.png)