title: locale in laravel 5.4 returns to the pervious locale after refresh
body: <p>im learning the multi locale inn laravel 5.4 
  so
  i created two files 
  first one in resources/lang/es/greeting.php</p>
  
  <pre><code>&lt;?php
  
  return [
  
      'hello' =&gt; 'hola',
  
  ];
  </code></pre>
  
  <p>and second  in resources/lang/en/greeting.php</p>
  
  <pre><code>&lt;?php
  
  return [
  
      'hello' =&gt; 'hola',
  
  ];
  </code></pre>
  
  <p>and i created this route inside web.php </p>
  
  <pre><code>Route::get('/{locale}', function ($locale) {
      App::setLocale($locale);
      return view('index');
  
  });
  </code></pre>
  
  <p>so when i request this link  (localhost:8000/es)
  it works 
  but when i refresh the page its returns to default locale which is en </p>
  
  <p>and i want it to stay in the new locale 
  so help me please</p>