[buddypress-trac] [BuddyPress Trac] #5887: Custom language file does not load in bp_core_load_buddypress_textdomain()

buddypress-trac noreply at wordpress.org
Mon Oct 6 20:35:00 UTC 2014


#5887: Custom language file does not load in bp_core_load_buddypress_textdomain()
------------------------------------+--------------------
 Reporter:  r-a-y                   |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  2.1.1
Component:  Core                    |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+--------------------

Comment (by r-a-y):

 Good catch on the "Settings > General" page, imath.

 I definitely agree that our custom BP language file should not show up
 there.  A pity that there is no filter in `get_available_languages()`.
 One workaround is renaming the language file to `ms-buddypress-fr_FR.mo`.
 Because that function omits language files with that prefix, BP will not
 show up as an option.  Kinda ugly, I know.

 If we are going to add another subdirectory, I would use `/wp-
 content/languages/custom/` so potentially other language files can be
 added there by other plugins.

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


More information about the buddypress-trac mailing list