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

buddypress-trac noreply at wordpress.org
Sun Mar 3 11:34:49 UTC 2013


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

Comment (by DJPaul):

 New patches.

 translatecode-002 changes:
 * Use WEEK_IN_SECONDS constant
 * Correct WP_LANG_DIR path from
 WP_LANG_DIR/plugins/buddypress/{domain}-{locale}.mo to
 WP_LANG_DIR/plugins/{domain}-{locale}.mo -- see [WP22346]

 language-packs-002 is a change to bp_core_load_buddypress_textdomain() to
 look in a new location. This fits the upcoming WP language pack convention
 and prevents overwriting of existing translation file.

 * We could run this on install as long as we can trigger it in a non-
 blocking way; maybe fire a one-time-only cron.
 * If we throw an alert if WP_LANG_DIR is not writable, we should somehow
 do it only after finding that a language pack exists for the current
 locale ("Hey, we tried to help you, but...").
 * I think auto-updating the language file is fine, and cool. Eventually,
 this is going to happen when people install a new plugin from
 WordPress.org.

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


More information about the buddypress-trac mailing list