[buddypress-trac] [BuddyPress] #4190: Several problems with i18n

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun May 6 22:11:31 UTC 2012

#4190: Several problems with i18n
 Reporter:  slaFFik       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  major         |   Keywords:  has-patch

 1) bp_core_load_buddypress_textdomain() -> $mofile_local:
 It has two slashes in the path. Reason: BP_PLUGIN_DIR is already
 trailingslahit'd and you are adding one more slash:

 $mofile_local = BP_PLUGIN_DIR . '/bp-languages/' . $mofile;

 mofile_local.patch fixes this.

 2) On this url {{{wp-admin/admin.php?page=bp-page-settings}}} names of
 directories are not translatable. Currently didn't find how to fix.
 The code is loading data from BP_Activity_Component::_construct() (for
 example) - where the description string is translatable, although not
 translated on front-end.

 3) Settings -> BuddyPress -> Components:
 This text:

 All (10) | Active (10) | Inactive (0) | Must-Use (2)

 is untranslatable. There is an error in using _n/_nx functions for
 displaying plurals there.

 components_numbers.patch fixes this.

 4) Settings -> BuddyPress -> Permalinks:
 "View" and "New page" were untranslatable.

 uni18n.patch fixes this.

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

More information about the buddypress-trac mailing list