Laravel - Notifications - Localizing Notifications

Laravel allows you to send notifications in a locale other than the HTTP request's current locale, and will even remember this locale if the notification is queued.

To accomplish this, the Illuminate\Notifications\Notification class offers a locale method to set the desired language. The application will change into this locale when the notification is being evaluated and then revert back to the previous locale when evaluation is complete:

    
    $user->notify((new InvoicePaid($invoice))->locale('es'));
	

Localization of multiple notifiable entries may also be achieved via the Notification facade:

    
    Notification::locale('es')->send(
        $users, new InvoicePaid($invoice)
    );