title: PHP setlocale has no effect
body: <p>The <code>setlocale()</code> function doesn't set the desired language (German).</p>
  
  <hr>
  
  <p>The goal is to output month names.</p>
  
  <p>This is my test code with trials so far:</p>
  
  <pre><code>&lt;?php
  
  date_default_timezone_set('Europe/Berlin');
  setlocale(LC_ALL, 'de_DE.utf8');
  // Or
  setlocale(LC_ALL, 'de_DE@euro');
  // Or
  setlocale(LC_ALL, 'de_DE');
  // Or
  setlocale(LC_ALL, 'de');
  // Or
  setlocale(LC_ALL, 'ge');
  
  
  echo strftime('%B');
  </code></pre>
  
  <p><em>Output:</em></p>
  
  <blockquote>
    <p>June</p>
  </blockquote>
  
  <p><em>instead of</em></p>
  
  <blockquote>
    <p>Juni</p>
  </blockquote>
  
  <p>Any suggestions?</p>
  
  <ul>
  <li>I don't have ssh or other shell access.</li>
  <li>The script is running on a linux server.</li>
  </ul>
  
  <p>PHP version 5.6</p>