[buddypress-trac] [BuddyPress Trac] #9187: Custom BuddyPress translation files are no more loaded since WP 4.6

buddypress-trac noreply at wordpress.org
Sun Jun 16 08:02:41 UTC 2024


#9187: Custom BuddyPress translation files are no more loaded since WP 4.6
--------------------------+---------------------
 Reporter:  imath         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  strategic     |   Milestone:  14.0.0
Component:  Core          |     Version:  1.0
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by prbot):

 * keywords:  needs-patch => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/316 PR #316] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://github.com/imath imath].''
 Use the `'load_translation_file'` filter to check custom file locations
 for the `buddypress` text domain.

 **NB**: this filter was introduced by WordPress in version 6.5.

 If there's a `buddypress-xx_XX.mo` (where xx_XX is the locale code) file
 into one of the following directories, it will be used to replace the
 default one (WordPress.org Plugin Directory / GlotPress):

 1. `/wp-content/languages/plugins/buddypress` (added in 14.0.0)
 2. `/wp-content/languages/buddypress`
 3. `/wp-content/languages`

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/9187

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9187#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list