mardi 2 février 2016

laravel 5.1 localization not working

I have some issue with the localization in laravel 5.1 I have inserted the various langs files in the main lang folder. There, i have "en" folder and "ru" folder etc..

ex:

home.php:

return [
 'something' => 'something testing',
]; 

In the route i have this GET:

get('/gui/{lang}/{id}/{ver}/',['as' => 'gui', 'uses' => 'GuiController@home']);

but the langs didn't change. if i change the route URL the text stays always in the "en" default lang.
some example:

http://ift.tt/1VGS7uk

http://ift.tt/1KnBDqp



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire