Automatic translation downloads grabbing wrong version for BuddyPress
|Reported by:||boonebgorges||Owned by:|
See https://buddypress.trac.wordpress.org/ticket/5655 for some background.
Some BuddyPress users whose translations are being downloaded via automatic upgrades are getting out-of-date translations. api.wordpress.org appears to be telling them that 1.8 is the most recent available pot file. I'm testing this with pt_BR, but it also appears to be true at least of de_DE.
Some data (dumped out of wp_update_plugins()):
'plugins' payload sent to API:
array (size=2) 'plugins' => array (size=2) 'buddypress/bp-loader.php' => array (size=11) 'Name' => string 'BuddyPress' (length=10) 'PluginURI' => string 'http://buddypress.org' (length=21) 'Version' => string '2.0.1' (length=5) 'Description' => string 'Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.' (length=160) 'Author' => string 'The BuddyPress Community' (length=24) 'AuthorURI' => string 'http://buddypress.org/community/members/' (length=40) 'TextDomain' => string 'buddypress' (length=10) 'DomainPath' => string '/bp-languages/' (length=14) 'Network' => boolean false 'Title' => string 'BuddyPress' (length=10) 'AuthorName' => string 'The BuddyPress Community' (length=24) 'hello.php' => array (size=11) 'Name' => string 'Hello Dolly' (length=11) 'PluginURI' => string 'http://wordpress.org/plugins/hello-dolly/' (length=41) 'Version' => string '1.6' (length=3) 'Description' => string 'This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.' (length=295) 'Author' => string 'Matt Mullenweg' (length=14) 'AuthorURI' => string 'http://ma.tt/' (length=13) 'TextDomain' => string '' (length=0) 'DomainPath' => string '' (length=0) 'Network' => boolean false 'Title' => string 'Hello Dolly' (length=11) 'AuthorName' => string 'Matt Mullenweg' (length=14) 'active' => array (size=1) 0 => string 'buddypress/bp-loader.php' (length=24)
Response from the API:
array (size=2) 'plugins' => array (size=0) empty 'translations' => array (size=1) 0 => array (size=7) 'type' => string 'plugin' (length=6) 'slug' => string 'buddypress' (length=10) 'language' => string 'pt_BR' (length=5) 'version' => string '1.8' (length=3) 'updated' => string '2013-08-02 02:07:58' (length=19) 'package' => string 'https://global.wordpress.org/builds/plugins/buddypress/1.8/pt_BR.zip' (length=68) 'autoupdate' => boolean true
I remember having a talk with Nacin about how languages are cleared for translation once they meet 100%-translated; maybe this is part of the problem? Could perhaps also be related to the fact that http://translate.wordpress.org/projects/buddypress/ does not properly mirror all of BP's branches? (1.8 and 2.0 are missing)
Happy to provide more details if necessary, and please let me know if I've reported to the wrong place.
Change History (6)
- Cc stephen@… added
- Component changed from International Sites (Rosetta) to api.wordpress.org