[buddypress-trac] [BuddyPress] #5030: Use load_plugin_textdomain() for loading language files

buddypress-trac noreply at wordpress.org
Tue May 28 23:21:38 UTC 2013


#5030: Use load_plugin_textdomain() for loading language files
--------------------------+-----------------------
 Reporter:  boonebgorges  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  high          |  Milestone:  1.8
Component:  Core          |    Version:
 Severity:  major         |   Keywords:  has-patch
--------------------------+-----------------------
 Continuation of conversation begun at
 https://buddypress.trac.wordpress.org/ticket/4857#comment:20

 Summary:
 - BP currently uses `load_textdomain()` to load language files.
 Historically, we've done this because we encourage language pack users to
 download .mos separately and store them in wp-content/languages, and
 `load_plugin_textdomain()` does not support this location in an obvious
 way.
 - However, upcoming changes to the way that language packs are distributed
 from wordpress.org will require that BP use `load_plugin_textdomain()`

 https://buddypress.trac.wordpress.org/attachment/ticket/4857/4857.05.patch
 is a working but clunky patch for accomplishing what needs to be done.
 nacin has suggested that he has another approach; this might involve
 changes to `load_plugin_textdomain()` (such as un-deprecating the absolute
 path parameter).

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5030>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list