set lang laravel code example
Example 1: laravel app get locale
App::getLocale();
Example 2: @lang laravel blade
{{ __('messages.welcome') }}
@lang('messages.welcome')
App::getLocale();
{{ __('messages.welcome') }}
@lang('messages.welcome')