How to set language for Carbon?
<p>So i want to set language for Carbon, but i always get same result.</p>

<pre><code>  Carbon::setLocale('es');
$archive_current_year = Articles::whereBetween('created_at', [
    Carbon::now()-&gt;startOfYear(),
    Carbon::now()-&gt;endOfYear(),
  ])-&gt;get()-&gt;groupBy(function($item) {
    return $item-&gt;created_at-&gt;format('F');
  });
</code></pre>