1/resources
2 /lang
3 /en
4 messages.php
5 /es
6 messages.php
7
81. Inside messages.php
9return [
10 'welcome' => 'Welcome to our application',
11];
12
132. To access the lang message
14
15{{ __('messages.welcome') }}
16
17-----------OR----------------
18
19@lang('messages.welcome')