Povilas, thank you the exploring multi-language topic. What if i also want my URLs to be translated, something like this:
I come up with this solution in routes:
Route::get(__('routes.articles'), 'articleController@index')
It reads respective, translated route name from translation file:
'articles' => 'straipsniai'
But i don't know if translation file was suposed for such use. Do you know any other solution that may provide similar results?
thanks, i was searching multi-lang of how to do with database
Povilas, thank you the exploring multi-language topic. What if i also want my URLs to be translated, something like this:
I come up with this solution in routes:
It reads respective, translated route name from translation file:
But i don't know if translation file was suposed for such use. Do you know any other solution that may provide similar results?
thanks, i was searching multi-lang of how to do with database