<div dir="ltr">I can see there is a lot of confusion here.<div><br></div><div>A POT file is a Portable Object Template. It's the file that you actually start with. It's a generated text file containing all the strings from the code. You can generate it in various ways, but the official recommended way is to use the WordPress i18n tools. More on this below.</div>

<div><br></div><div>A PO file is what you get after running a POT file through a translation system, like POEdit or GlotPress. It's the same as the POT file, but with the translations for a specific language included.</div>

<div><br></div><div>A MO file is what you actually have to include with a piece of code for people to immediately use those translations. It's the compiled version of the PO file, for machines. Thus, instead of "Portable Object", it's a "Machine Object" file.</div>

<div><br></div><div>Now, to generate POT files for a WordPress theme:<br></div><div><br></div><div>1. Check out the developer repository of WordPress:</div><div><br></div><div>svn co <a href="http://develop.svn.wordpress.org/trunk">http://develop.svn.wordpress.org/trunk</a> wordpress</div>

<div><br></div><div>2. In that developer directory, you'll find a /tools/i18n directory. So:</div><div><br></div><div>cd wordpress/tools/i18n</div><div><br></div><div>3. Use the makepot.php file:</div><div><br></div>
<div>
php makepot.php wp-theme /path/to/your/theme/directory theme-slug.pot</div><div><br></div><div>The resulting POT file will be the file you need to give to translators, or put into a GlotPress install, or whatever. It will have all the i18n strings from your theme, as well as the strings from the style.css file for the headers like the description and so forth. If you're doing a general release, this POT file should be included with your theme.</div>

<div><br></div><div>If you have translated strings already, including the MO files will allow the users of your theme to use those strings.</div><div><br></div><div>Including PO files is somewhat pointless, but they are generally included along with MO files if you have pre-made translations.</div>

<div class="gmail_extra"><br clear="all"><div>-Otto</div><div><br></div>
<br><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 10:29 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Is generation of a .POT file really as trivial as taking the Poedit-generated .PO file, and changing the extension from .PO to .POT?<div><br></div><div>If so, I don't really see the criticality of requiring a .POT file over a .PO file.</div>


</div><div class="gmail_extra"><br></div></blockquote></div></div></div>