[buddypress-trac] [BuddyPress] #5030: Use load_plugin_textdomain() for loading language files
buddypress-trac
noreply at wordpress.org
Fri Jun 7 05:17:30 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 | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by nacin):
4857.05.patch won't work for a custom language or plugin directories.
What I was thinking is call load_plugin_textdomain() for the relative 'bp-
languages' path - and if it returns false (and it always will by default),
go ahead and do what you do currently. But this will mean that when
load_plugin_textdomain() changes, you'll automatically get those goodies.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5030#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list