title: How to generate a .po file?
body: <p>On Windows using WAMPserver (Apache, MySQL, PHP) I have the following:</p>
  
  <pre><code>//test.php
  if (!defined('LC_MESSAGES'))
  define('LC_MESSAGES', 6);
  
  $lang = "sv";
  putenv("LANG=$lang");
  setlocale(LC_ALL, $lang);
  
  $domain = "messages";
  bindtextdomain($domain, "./locale");
  textdomain($domain);
  
  echo _("This is a string");
  </code></pre>
  
  <p>It works fine, i.e. it outputs "This is a string" which means I have <code>gettext</code> correctly setup up.</p>
  
  <p>But HOW in the world do I create a <code>.po</code> file?</p>
  
  <p>I downloaded Poedit but I can't see how to make this happen with that software.</p>
  
  <p>Any help is greatly appreciated!</p>