title: Laravel $id return 'en' instead of id
body: <p>My route:</p>
  <pre><code>Route::group([
  'prefix' =&gt; '{locale}',
  'where' =&gt; ['locale' =&gt; '[a-zA-Z]{2}'],
  'middleware' =&gt; 'setlocale'],  
  function () {
  
  // GROUP FOR AUTHENTICATION
  Route::group([
      'middleware' =&gt; 'auth:sanctum', 'verified',
  ], function () {
  
      // GROUP FOR ADMIN
      Route::group([
          'prefix' =&gt; 'admin',
          'as' =&gt; 'admin.',
      ], function () {
          Route::resource('partner', PartnerFormController::class);
      });
  });
  </code></pre>
  <p>});</p>
  <p>My view that when I click, it shows the details page:</p>
  <pre><code>&lt;a href=&quot;{{ route('admin.partner.show', $partner-&gt;id) }}&quot; class=&quot;text-indigo-600 hover:text-indigo-900&quot;&gt;Edit&lt;/a&gt;
  </code></pre>
  <p>My controller:</p>
  <pre><code>public function show(PartnerForm $partnerForm, $id)
  {
  
      $details = DB::table('partner_forms')-&gt;where('id', $id)
      -&gt;first();
  
      return view('admin.partner-details', compact('details'));
  }
  </code></pre>
  <p>I  tried to call $details-&gt;name or $details-&gt;in my view details page but it didnt work. The URL is working properly by displaying <a href="http://127.0.0.1:8000/en/admin/partner/1" rel="nofollow noreferrer">http://127.0.0.1:8000/en/admin/partner/1</a> but when i dd() my $id in controller it returns en, which I believe is the en from the URL.</p>