Set the locale for Carbon, so diffForHumans is translated
MODIFY
app/Http/Middleware/SetLocale.php
app/Http/Middleware/SetLocale.php
namespace App\Http\Middleware;
use Closure;
+use Carbon\Carbon;
class SetLocale {
public function handle($request, Closure $next) {
@@ -10,6 +11,7 @@ class SetLocale {
$user = \Auth::user();
\App::setLocale($user->language);
+ Carbon::setLocale($user->language);
}
return $next($request);

Set the locale for Carbon, so diffForHumans is translated