laravel language switcher example
Example 1: laravel language helper
{{ __(‘The Web Tier’) }}
Example 2: @lang laravel blade
{{ __('messages.welcome') }}
@lang('messages.welcome')
{{ __(‘The Web Tier’) }}
{{ __('messages.welcome') }}
@lang('messages.welcome')