#Translate MailMessage for EmailVerification

3 messages · Page 1 of 1 (latest)

sterile ferry
#

Hi, I'm trying to implant an auth system. Following the docs, I could send a verification email with the event(new Registered($user));.
The email is in english, and I don't really know how to translate everything. As the docs says, I could customize some lines in the AppServiceProvider.php php VerifyEmail::toMailUsing(function (object $notifiable, string $url) { return (new MailMessage) ->greeting('Bonjour !') ->subject('Vérification de l\'adress e-mail') ->line('Cliquez sur le bouton ci-dessous afin de valider votre adresse e-mail') ->action('Vérification', $url); });
But as you can see on the screenshot, there are two lines that I can't translate, I don't find any information on this on the doc, and I can't find anything on the MailMessage.php either. I don't even know how and where laravel wrote thoses things.

PS: I already publish the mail vendor files, that way I was able to translate the "All rights reserved", but I don't see anything with the "Regards," or the sentance below.

hollow imp
#

You can publish the notification templates, they'll give you a better idea

sterile ferry