title: Laravel Carbon/Date Change Locale Doesn't Work?
body: <p>Trying to serve all dates in website as another language.
  But It doesn't make any change.</p>
  <p>I set 'locale' =&gt; 'tr', in config/app.php file.</p>
  <p>My AppServiceProvider.php below:</p>
  <pre><code> public function boot(\Illuminate\Contracts\View\Factory $factory)
      {
          $factory-&gt;composer('*', 'App\Http\Views\Composers\AuthenticatedComposer');
          Carbon::setLocale('tr');
      }
  </code></pre>
  <p>And my resource file like:</p>
  <pre><code>  public function toArray($request)
      {
          Carbon::setLocale('tr');
          $user = Auth::user();
          setlocale(LC_TIME, 'Turkish');
          return [
              &quot;id&quot; =&gt; $this-&gt;id,
              &quot;customer&quot; =&gt; $this-&gt;customer,
              &quot;vehicle&quot; =&gt; $this-&gt;vehicle,
              &quot;basket&quot; =&gt; $this-&gt;basket,
              &quot;total&quot; =&gt; $this-&gt;total,
              &quot;discount&quot; =&gt; $this-&gt;discount,
              &quot;net_total&quot; =&gt; $this-&gt;total-$this-&gt;discount,
              &quot;status&quot; =&gt; $this-&gt;status,
              &quot;created_at&quot; =&gt; Carbon::parse($this-&gt;created_at)-&gt;formatLocalized('%A %d %B %Y'),
              &quot;edit_allowed&quot; =&gt; $user-&gt;power('process', 'edit'),
              &quot;delete_allowed&quot; =&gt; $user-&gt;power('process', 'delete'),
              &quot;detail_allowed&quot; =&gt; $user-&gt;power('process', 'detail')
          ];
      }
  </code></pre>
  <p>I expected date to be converted Turkish.
  But It returns English date like: &quot;Sunday 06 September 2020&quot;</p>
  <p>What's wrong with it?</p>