getlocale function where language get in laravel 8 code example Example: @lang laravel blade {{ __('messages.welcome') }} @lang('messages.welcome')