<div dir="ltr">Yea i&#39;m wondering about the same thing too!<br>Any answer!?<br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 2:13 AM, Peter Holme <span dir="ltr">&lt;<a href="mailto:peter@holme.se">peter@holme.se</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi!<div><br></div><div>Please don&#39;t kill me if this is totally inappropriate, but here goes..</div>

<div><br></div><div>I just posted this on <a href="http://wordpress.org/support/" target="_blank">wordpress.org/support/</a>, it&#39;s tagged with and about the plugin WordPress.com Stats:</div>

<div><br></div><div><span style="font-family: &#39;Lucida Grande&#39;,Verdana,&#39;Bitstream Vera Sans&#39;,Arial,sans-serif; font-size: 12px; color: rgb(51, 51, 51); line-height: 22px;">Hi! I&#39;m wondering if it&#39;s possible to localize this plugin, and how.. I managed to produce a po-file from the stats.php file with Poedit, made som translations and produced mo files, I first named it <code style="font-style: normal; font-weight: normal; font-family: Consolas,Monaco,&#39;Courier New&#39;,Courier,monospace; color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);">stats-nb_NO.mo</code>, then <code style="font-style: normal; font-weight: normal; font-family: Consolas,Monaco,&#39;Courier New&#39;,Courier,monospace; color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);">nb_NO.mo</code>, putting it in the<code style="font-style: normal; font-weight: normal; font-family: Consolas,Monaco,&#39;Courier New&#39;,Courier,monospace; color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);">wp-content/plugins/stats/</code> folder, but no luck.. It doesn&#39;t seem to have any function to load a text domain, and all the strings are just <code style="font-style: normal; font-weight: normal; font-family: Consolas,Monaco,&#39;Courier New&#39;,Courier,monospace; color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);">__(&#39;some string&#39;)</code>, instead of what you&#39;d expect: <code style="font-style: normal; font-weight: normal; font-family: Consolas,Monaco,&#39;Courier New&#39;,Courier,monospace; color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);">__(&#39;some string&#39;, &#39;wordpress-stats&#39;)</code> or something.. If I begin messing with the php file, it&#39;ll just get reverted once the plugin is updated, so I&#39;d prefer if there were any other solutions...</span><br clear="all">



<br></div><div>Here is the link: <a href="http://wordpress.org/support/topic/418368?replies=1" target="_blank">http://wordpress.org/support/topic/418368?replies=1</a></div><div><br></div><div>But now I see that someone else posted a similar thread 8 months ago, and it has remained unanswered:</div>



<div><a href="http://wordpress.org/support/topic/317965?replies=1" target="_blank">http://wordpress.org/support/topic/317965?replies=1</a></div><div><br></div><div>So I thought maybe someone here would know the answer?</div>

<div><br></div>

<div>All the best,</div><div><br></div><div>Peter</div><div>-- <br>+47 920 42 782<br>
</div>
<br>_______________________________________________<br>
wp-polyglots mailing list<br>
<a href="mailto:wp-polyglots@lists.automattic.com">wp-polyglots@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/wp-polyglots" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-polyglots</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Louy<br><a href="http://louyblog.wordpress.com/">http://louyblog.wordpress.com/</a><br>
</div>