[wp-polyglots] Unable to automatically update (zh_TW)
Nikolay Bachiyski
nb at nikolay.bg
Mon Jan 4 12:42:48 UTC 2010
On Mon, Jan 4, 2010 at 13:20, Pseric <pserics at gmail.com> wrote:
> 2010/1/4 Nikolay Bachiyski <nb at nikolay.bg>
>>
>> On Sun, Jan 3, 2010 at 18:11, Pseric <pserics at gmail.com> wrote:
>> > 2010/1/3 Nikolay Bachiyski <nb at nikolay.bg>
>> >>
>> >> On Sun, Jan 3, 2010 at 17:32, Pseric <pserics at gmail.com> wrote:
>> >> > 2010/1/3 Nikolay Bachiyski <nb at nikolay.bg>
>> >> >>
>> >> >> On Wed, Dec 30, 2009 at 14:41, Pseric <pserics at gmail.com> wrote:
>> >> >> > ...
>> >> >> > The Traditional Chinese WordPress site URL should be
>> >> >> > http://tw.wordpress.org/,
>> >> >> > rather than the http://zh.wordpress.org/, can you fix this bug?
>> >> >>
>> >> >> It should be getting the right subdomain now. Could you go to Tools
>> >> >> →
>> >> >> Update to confirm that you get the right download link and the
>> >> >> upgrade
>> >> >> works now.
>> >> >>
>> >> >> Happy translating,
>> >> >> Nikolay.
>> >> >> _______________________________________________
>> >> >> wp-polyglots mailing list
>> >> >> wp-polyglots at lists.automattic.com
>> >> >> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>> >> >
>> >> >
>> >> > Hi Nikolay,
>> >> > I've tried on some blogs, but it looks still doesn't work fine.
>> >> > The automatic update and download link is point
>> >> > to http://zh.wordpress.org/wordpress-2.9-zh_TW.zip ,
>> >> > and I can't get the file, unless
>> >> > http://tw.wordpress.org/wordpress-2.9-zh_TW.zip ,
>> >> > seems there are issues?
>> >>
>> >> The API works correctly now. You can see it here:
>> >>
>> >>
>> >>
>> >> http://api.wordpress.org/core/version-check/1.4/?version=2.8.6&locale=zh_TW
>> >>
>> >> You have to explicitly visit Tools → Update in order to get the new
>> >> information. Otherwise the cached data is used.
>> >>
>> >> Happy translating,
>> >> Nikolay.
>> >> _______________________________________________
>> >> wp-polyglots mailing list
>> >> wp-polyglots at lists.automattic.com
>> >> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>> >
>> >
>> > Hi Nikolay,
>> > I'm very sure I visit Tools → Update to get new infomation,
>> > I installed a temporary WordPress 2.8.6 (zh_TW) few minutes ago,
>> > and try to go to update-core.php, but still zh.wordpress.org . I don't
>> > know
>> > why.
>> > You can re-check it on http://pseric.com/zh/wp-login.php with admin /
>> > demo .
>>
>> Hm, this one really shows zh.wordpress.org.
>>
>> I also did a test and switched a blog to zh_TW locale and version
>> 2.8.6. Immediately it suggested that I upgrade to the tw.wordpress.org
>> package.
>>
>> I have a couple of questions in order to debug this issue:
>>
>> * Could you delete the option _transient_update_core and try again?
>> * Do you have the $wp_local_package and what's its value?
>> * Do you have a filter on core_version_check_locale and if yes – how
>> does it work?
>>
>> Thank you and happy translating,
>> Nikolay.
>> _______________________________________________
>> wp-polyglots mailing list
>> wp-polyglots at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>
> Hi Nokolay,
> * Could you delete the option _transient_update_core and try again?
> Yes, I've delete it in phpMyAdmin and try again, but there is no change.
> * Do you have the $wp_local_package and what's its value?
> I found the variable in wp-includes/version.php, the value is 'zh_TW'.
> * Do you have a filter on core_version_check_locale and if yes – how
> does it work?
> No.
> But I found some strange in wp-includes/update.php line 47,
> the $url =
> "http://api.wordpress.org/core/version-check/1.3/?version=$wp_version&php=$php_version&locale=$locale&mysql=$mysql_version&local_package=$local_package";
> should be /core/version-check/1.4/?version ?
> After I modify it, I check Tools → Update again, and I got correctly update
> file from tw.wordpress.org .
> So I think the problem should be here.
>
I fixed the 1.3 version of the API, too. It should be working fine
now. I will make sure e don't have such problems in the next version.
Happy translating,
Nikolay.
> Thanks for the help.
> Best regards,
> Pseric
>
> _______________________________________________
> wp-polyglots mailing list
> wp-polyglots at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>
>
More information about the wp-polyglots
mailing list