<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>What about theme options? </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:8px;color:#575757">Skickat från min Samsung Mobil</div>
</div>
<br>
<br>
<div>-------- Originalmeddelande --------</div>
<div>Från: Sami Keijonen <sami.keijonen@foxnet.fi></div>
<div>Datum:24-06-2014 17:39 (GMT+01:00) </div>
<div>Till: "Discussion list for WordPress theme reviewers." <theme-reviewers@lists.wordpress.org>
</div>
<div>Rubrik: Re: [theme-reviewers] Translation-ready themes </div>
<div><br>
</div>
<div>
<div dir="ltr">If Poedit creates page template names and style.css headers, then I don't see why not. I can check this out.</div>
<div class="x_gmail_extra"><br>
<br>
<div class="x_gmail_quote">On 24 June 2014 18:29, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="x_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="x_gmail_extra"><br>
<br>
<div class="x_gmail_quote">
<div>
<div class="x_h5">On Tue, Jun 24, 2014 at 10:26 AM, Sami Keijonen <span dir="ltr">
<<a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a>></span> wrote:<br>
</div>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div class="x_h5">
<div dir="ltr">I also vote for <span style="font-family:arial,sans-serif; font-size:12.800000190734863px">`theme-slug.pot`. That's the most generic file and translators can use any tool they want if that's included. </span>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">Ulrich pointed out the link which have 3 good solutions to create .pot file. </font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">Last time I checked Poedit didn't create style.css headers like description or custom page template names. If that's still the case that option is out. I use Grunt tool nowadays. <br>
</font>
<div class="x_gmail_extra">
<div><br>
<br>
<div class="x_gmail_quote">On 24 June 2014 16:44, Ulrich Pogson <span dir="ltr"><<a href="mailto:grapplerulrich@gmail.com" target="_blank">grapplerulrich@gmail.com</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<div dir="ltr">The template file should be `theme-slug.pot`. The `theme-slug.mo` is useless and not needed.
<div><br>
</div>
<div>You can read up here on how to generate the POT files.</div>
<div><a href="https://make.wordpress.org/docs/theme-developer-handbook/theme-functionality/localization/" target="_blank">https://make.wordpress.org/docs/theme-developer-handbook/theme-functionality/localization/</a><br>
</div>
<div><br>
</div>
<div>@Edward - Interesting that you changed your view. A few months ago you thought that the POT file should not be compulsory.</div>
<div><br>
</div>
<div>PSA - Generate your own mo files when receiving a translation as the mo file could contain different strings to the po file. The po file is human readable but the mo file is not.</div>
</div>
<div>
<div>
<div class="x_gmail_extra">
<div class="x_gmail_quote"><br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<span><font color="#888888">-- <br>
<div dir="ltr">Sami Keijonen<br>
Fox Holding Oy<br>
<a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a><br>
<a href="http://foxnet.fi" target="_blank">foxnet.fi</a>
<div><a href="http://foxnet-themes.fi" target="_blank">foxnet-themes.fi</a></div>
</div>
</font></span></div>
</div>
</div>
<br>
</div>
</div>
<div class="">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Sami Keijonen<br>
Fox Holding Oy<br>
<a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a><br>
<a href="http://foxnet.fi" target="_blank">foxnet.fi</a>
<div><a href="http://foxnet-themes.fi" target="_blank">foxnet-themes.fi</a></div>
</div>
</div>
</div>
</body>
</html>