[buddypress-trac] [BuddyPress] #4857: Automatic download of translations from translate.wordpress.org

buddypress-trac noreply at wordpress.org
Fri May 3 19:50:11 UTC 2013

#4857: Automatic download of translations from translate.wordpress.org
 Reporter:  DJPaul                   |       Owner:  DJPaul
     Type:  task                     |      Status:  assigned
 Priority:  normal                   |   Milestone:  1.8
Component:  i18n                     |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |

Comment (by DJPaul):

 4857.01 implements this feature. Feedback and/or testing appreciated:

 * A cron runs once weekly. If an updated translation exists on
 translate.wordpress.org, an option is set.
 * When the option is set, the update badge in the wp-admin dashboard is
 * On wp-admin/update-core.php, a new section is added for "Update
 BuddyPress Translation" which does what it says.
 * When the language is updated, the timestamp is stored in another option.
 This option is used in the future cron checks in a IF-MODIFIED-SINCE
 header, which GlotPress now supports
 ([http://glotpress.trac.wordpress.org/ticket/236 #GP236]), to avoid
 wasting processing time on GlotPress and client download time.

 The current patch hardcodes the checked translation to Italian, to make
 testing easier. There's a method where this is set, so easy to change if
 you want.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4857#comment:11>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list