The __ function translates the given translation string or translation key using your localization files:
<?php echo __('Welcome to our application');

echo __('messages.welcome');
<?php             });

        })->prepend([

            'url' => $this->previousPageUrl(),

            'label' => function_exists('__') ? __('pagination.previous') : 'Previous',

            'active' => false,

        ])->push([

            'url' => $this->nextPageUrl(),
<?php             'active' => false,

        ])->push([

            'url' => $this->nextPageUrl(),

            'label' => function_exists('__') ? __('pagination.next') : 'Next',

            'active' => false,

        ]);

    }
<?php         ResetPassword::toMailUsing(function ($notifiable, $token) {

            return (new MailMessage)

                ->subject(__('Reset Password Notification'))

                ->line(__('You are receiving this email because we received a password reset request for your account.'))

                ->action(__('Reset Password'), route('custom.password.reset', $token))

                ->line(__('If you did not request a password reset, no further action is required.'));
<?php         ResetPassword::toMailUsing(function ($notifiable, $token) {

            return (new MailMessage)

                ->subject(__('Reset Password Notification'))

                ->line(__('You are receiving this email because we received a password reset request for your account.'))

                ->action(__('Reset Password'), route('custom.password.reset', $token))

                ->line(__('If you did not request a password reset, no further action is required.'));

        });
<?php             return (new MailMessage)

                ->subject(__('Reset Password Notification'))

                ->line(__('You are receiving this email because we received a password reset request for your account.'))

                ->action(__('Reset Password'), route('custom.password.reset', $token))

                ->line(__('If you did not request a password reset, no further action is required.'));

        });
<?php                 ->subject(__('Reset Password Notification'))

                ->line(__('You are receiving this email because we received a password reset request for your account.'))

                ->action(__('Reset Password'), route('custom.password.reset', $token))

                ->line(__('If you did not request a password reset, no further action is required.'));

        });



        UserFactory::new()->create();
<?php         ResetPassword::toMailUsing(function ($notifiable, $token) {

            return (new MailMessage)

                ->subject(__('Reset Password Notification'))

                ->line(__('You are receiving this email because we received a password reset request for your account.'))

                ->action(__('Reset Password'), route('custom.password.reset', $token))

                ->line(__('If you did not request a password reset, no further action is required.'));
<?php         ResetPassword::toMailUsing(function ($notifiable, $token) {

            return (new MailMessage)

                ->subject(__('Reset Password Notification'))

                ->line(__('You are receiving this email because we received a password reset request for your account.'))

                ->action(__('Reset Password'), route('custom.password.reset', $token))

                ->line(__('If you did not request a password reset, no further action is required.'));

        });
<?php             return (new MailMessage)

                ->subject(__('Reset Password Notification'))

                ->line(__('You are receiving this email because we received a password reset request for your account.'))

                ->action(__('Reset Password'), route('custom.password.reset', $token))

                ->line(__('If you did not request a password reset, no further action is required.'));

        });
<?php                 ->subject(__('Reset Password Notification'))

                ->line(__('You are receiving this email because we received a password reset request for your account.'))

                ->action(__('Reset Password'), route('custom.password.reset', $token))

                ->line(__('If you did not request a password reset, no further action is required.'));

        });



        UserFactory::new()->create();
<?php     public function toMail($notifiable)

    {

        return (new MailMessage)

            ->greeting(__('hi'))

            ->line(Carbon::tomorrow()->diffForHumans());

    }

}