[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 18:46:12 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 imath):

 We can avoid this by putting the custom language files in a buddypress
 folder in {{{WP_LANG_DIR}}} directory

 I think it's a good compromise between "the currently recommended
 technique of having a file directly in WP_LANG_DIR." and the fact
 BuddyPress language file is showing in the site's language dropbox.

 so {{{/wp-content/languages/buddypress/buddypress-fr_FR.mo}}} instead of
 {{{/wp-content/languages/buddypress-fr_FR.mo}}}

 I've adapted r-a-y's first patch to this organisation in
 5887.bp_folder_language_file.patch

 What do you think ?

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


More information about the buddypress-trac mailing list