title: Php gettext is not displaying the translated text (after generationg the .pot and .mo files with poEdit)
body: <p>I followed the folling tutorial: <a href="http://mel.melaxis.com/devblog/2005/08/06/localizing-php-web-sites-using-gettext/" rel="nofollow noreferrer">http://mel.melaxis.com/devblog/2005/08/06/localizing-php-web-sites-using-gettext/</a></p>
  
  <p>about Php gettext extension (I unchecked the comment in the php.ini)</p>
  
  <p>The gettext is activated but it doesn't show up the translation (German).</p>
  
  <p>Here are the files:</p>
  
  <p><strong>C:\wamp\www\php-test\test.php:</strong></p>
  
  <pre><code>&lt;?php
  require_once("localization.php");
  echo _("Hello World!");
  ?&gt;
  </code></pre>
  
  <p><strong>C:\wamp\www\php-test\localization.php:</strong></p>
  
  <pre><code>&lt;?php
  $locale = "de_DE";
  if (isSet($_GET["locale"])) $locale = $_GET["locale"];
  putenv("LC_ALL=$locale");
  setlocale(LC_ALL, $locale);
  bindtextdomain("messages", "./locale");
  textdomain("messages");
  ?&gt;
  </code></pre>
  
  <p><strong>C:\wamp\www\php-test\locale\de_DE\LC_MESSAGES\messages.po:</strong></p>
  
  <pre><code>msgid ""
  msgstr ""
  "Project-Id-Version: \n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2010-02-14 00:35+0800\n"
  "PO-Revision-Date: 2010-02-14 00:37+0800\n"
  "Last-Translator: Jano Chen &lt;weedcl@hotmail.com&gt;\n"
  "Language-Team: \n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: 8bit\n"
  "X-Poedit-KeywordsList: _;gettext;gettext_noop\n"
  "X-Poedit-Basepath: C:\\wamp\\www\\php-test\n"
  "X-Poedit-Language: German\n"
  "X-Poedit-Country: GERMANY\n"
  "X-Poedit-SourceCharset: iso-8859-1\n"
  "X-Poedit-SearchPath-0: .\n"
  
  #: test.php:2
  msgid "Hello World!"
  msgstr "Hallo Welt!"
  </code></pre>
  
  <p><strong>C:\wamp\www\php-test\locale\de_DE\LC_MESSAGES\messages.mo</strong></p>
  
  <p>(sorry from some reason I can't copy the text of this file)</p>
  
  <p><a href="https://i.stack.imgur.com/FpyQc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FpyQc.png" alt="alt text"></a></p>
  
  <p>When I open it should display "Hallo Welt" (Hello World in German) but instead it displays it in English (Hello World).</p>
  
  <p>Any suggestions?</p>
  
  <p>PS: I'm using Windows XP SP2</p>