<div class="gmail_quote">2010/1/4 Nikolay Bachiyski <span dir="ltr">&lt;<a href="mailto:nb@nikolay.bg">nb@nikolay.bg</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Sun, Jan 3, 2010 at 18:11, Pseric &lt;<a href="mailto:pserics@gmail.com">pserics@gmail.com</a>&gt; wrote:<br>
&gt; 2010/1/3 Nikolay Bachiyski &lt;<a href="mailto:nb@nikolay.bg">nb@nikolay.bg</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Jan 3, 2010 at 17:32, Pseric &lt;<a href="mailto:pserics@gmail.com">pserics@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; 2010/1/3 Nikolay Bachiyski &lt;<a href="mailto:nb@nikolay.bg">nb@nikolay.bg</a>&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Wed, Dec 30, 2009 at 14:41, Pseric &lt;<a href="mailto:pserics@gmail.com">pserics@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; ...<br>
&gt;&gt; &gt;&gt; &gt; The Traditional Chinese WordPress site URL should be<br>
&gt;&gt; &gt;&gt; &gt; <a href="http://tw.wordpress.org/" target="_blank">http://tw.wordpress.org/</a>,<br>
&gt;&gt; &gt;&gt; &gt; rather than the <a href="http://zh.wordpress.org/" target="_blank">http://zh.wordpress.org/</a>, can you fix this bug?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; It should be getting the right subdomain now. Could you go to Tools →<br>
&gt;&gt; &gt;&gt; Update to confirm that you get the right download link and the upgrade<br>
&gt;&gt; &gt;&gt; works now.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Happy translating,<br>
&gt;&gt; &gt;&gt; Nikolay.<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; wp-polyglots mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:wp-polyglots@lists.automattic.com">wp-polyglots@lists.automattic.com</a><br>
&gt;&gt; &gt;&gt; <a href="http://lists.automattic.com/mailman/listinfo/wp-polyglots" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-polyglots</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Hi Nikolay,<br>
&gt;&gt; &gt; I&#39;ve tried on some blogs, but it looks still doesn&#39;t work fine.<br>
&gt;&gt; &gt; The automatic update and download link is point<br>
&gt;&gt; &gt; to <a href="http://zh.wordpress.org/wordpress-2.9-zh_TW.zip" target="_blank">http://zh.wordpress.org/wordpress-2.9-zh_TW.zip</a> ,<br>
&gt;&gt; &gt; and I can&#39;t get the file, unless<br>
&gt;&gt; &gt; <a href="http://tw.wordpress.org/wordpress-2.9-zh_TW.zip" target="_blank">http://tw.wordpress.org/wordpress-2.9-zh_TW.zip</a> ,<br>
&gt;&gt; &gt; seems there are issues?<br>
&gt;&gt;<br>
&gt;&gt; The API works correctly now. You can see it here:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://api.wordpress.org/core/version-check/1.4/?version=2.8.6&amp;locale=zh_TW" target="_blank">http://api.wordpress.org/core/version-check/1.4/?version=2.8.6&amp;locale=zh_TW</a><br>
&gt;&gt;<br>
&gt;&gt; You have to explicitly visit Tools → Update in order to get the new<br>
&gt;&gt; information. Otherwise the cached data is used.<br>
&gt;&gt;<br>
&gt;&gt; Happy translating,<br>
&gt;&gt; Nikolay.<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; wp-polyglots mailing list<br>
&gt;&gt; <a href="mailto:wp-polyglots@lists.automattic.com">wp-polyglots@lists.automattic.com</a><br>
&gt;&gt; <a href="http://lists.automattic.com/mailman/listinfo/wp-polyglots" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-polyglots</a><br>
&gt;<br>
&gt;<br>
&gt; Hi Nikolay,<br>
&gt; I&#39;m very sure I visit Tools → Update to get new infomation,<br>
&gt; I installed a temporary WordPress 2.8.6 (zh_TW) few minutes ago,<br>
&gt; and try to go to update-core.php, but still <a href="http://zh.wordpress.org" target="_blank">zh.wordpress.org</a> . I don&#39;t know<br>
&gt; why.<br>
&gt; You can re-check it on <a href="http://pseric.com/zh/wp-login.php" target="_blank">http://pseric.com/zh/wp-login.php</a> with admin / demo .<br>
<br>
</div></div>Hm, this one really shows <a href="http://zh.wordpress.org" target="_blank">zh.wordpress.org</a>.<br>
<br>
I also did a test and switched a blog to zh_TW locale and version<br>
2.8.6. Immediately it suggested that I upgrade to the <a href="http://tw.wordpress.org" target="_blank">tw.wordpress.org</a><br>
package.<br>
<br>
I have a couple of questions in order to debug this issue:<br>
<br>
* Could you delete the option _transient_update_core and try again?<br>
* Do you have the $wp_local_package and what&#39;s its value?<br>
* Do you have a filter on core_version_check_locale and if yes – how<br>
does it work?<br>
<br>
Thank you and happy translating,<br>
<div><div></div><div class="h5">Nikolay.<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>
</div></div></blockquote></div><br><div>Hi Nokolay,</div><div><br></div><div>* Could you delete the option _transient_update_core and try again?</div><div>Yes, I&#39;ve delete it in phpMyAdmin and try again, but there is no change.</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">* Do you have the $wp_local_package and what&#39;s its value?</span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I found the <span class="Apple-style-span" style="font-family: Arial; font-size: 13px; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">variable in wp-includes/version.php, the value is &#39;zh_TW&#39;.</span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; ">* Do you have a filter on core_version_check_locale and if yes – how<br>
does it work?</span></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">No.</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">But I found some strange in wp-includes/update.php line 47,</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">the $url = &quot;<a href="http://api.wordpress.org/core/version-check/1.3/?version=$wp_version&amp;php=$php_version&amp;locale=$locale&amp;mysql=$mysql_version&amp;local_package=$local_package">http://api.wordpress.org/core/version-check/1.3/?version=$wp_version&amp;php=$php_version&amp;locale=$locale&amp;mysql=$mysql_version&amp;local_package=$local_package</a>&quot;;</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">should be /core/version-check/1.4/?version ? </span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">After I modify it, I check Tools <span class="Apple-style-span" style="font-size: 13px; ">→ Update again, and <span class="Apple-style-span" style="font-size: small; ">I got correctly update file from <a href="http://tw.wordpress.org">tw.wordpress.org</a> .</span></span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">So I think the problem should be here.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Thanks for the help.</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Best regards,</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Pseric</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div>