I would like to know how to set locale in session.
my language picker isnt' input type, but just text. here is blade fragment - this is language picker:
<div class = "col-lg-5 col-md-5" id = "lang">
<ul id = "lang_menu">
<li class = "language active">Latviešu</a></li>
<li class = "language">Pусский</a></li>
<li class = "language">English</a></li>
</ul>
</div>
Here are routes:
Route::get('/', 'PagesController@index');
Route::get('/mafia', 'PagesController@mafia');
Route::get('/games', 'PagesController@games');
Route::get('/discounts', 'PagesController@discounts');
Route::get('/tournaments', 'PagesController@tournaments');
Route::get('/gallery', 'PagesController@gallery');
Route::get('/aboutus', 'PagesController@aboutus');
also i have transladet files who works fine when i changing locale in config
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2uH3wbk
via IFTTT
Aucun commentaire:
Enregistrer un commentaire