Laravel multiple languages
This tutorial will show you how to make a website with multiple languages in Laravel.
Firstly, we go routes/web.php and add some code to this file to allow user can change language.
session(['locale' => $locale]);
echo 'You have changed language to "', $locale, '"<br/>';
Now user can understand how to change language, further you can write a switcher with the links to allow user click on to change language by yourself.
Next step, we can create some migration about POST to make post table with translation.