get locale in controller laravel 8 code example Example: @lang laravel blade {{ __('messages.welcome') }} @lang('messages.welcome')