9 months ago

change locale

Posted 9 months ago by giorg

Hello, my default configured locale in app.php is en. Now in my controller I do:


which is working, because if I look at the page source I can see

then I created the resource/lang/it folder, with a messages.php file returning the translations, but it's not working. In my template I have:

{{ __('Round') }}

which remains Round even if in my messages.php I have:

return [ 'Round' => 'Giocata', ];

any hint? thanks a lot

Please sign in or create an account to participate in this conversation.