switch two language laravel 8 code example Example: @lang laravel blade {{ __('messages.welcome') }} @lang('messages.welcome')