[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 15:08:04 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 |
------------------------------------+--------------------
Changes (by imath):
* keywords: has-patch => has-patch dev-feedback
Comment:
I've tested r-a-y's first patch. It's working fine. But i think it can
bring some confusion as if for instance you add the buddypress-fr_FR.mo at
the root of {{{WP_LANG_DIR}}} then it will be listed in the available
'''site''' language.
[[Image(https://cldup.com/0cLwxqVlmh-2000x2000.png)]]
https://cloudup.com/c7kNPwn868e
If you look at {{{get_available_languages()}}}, you'll see that there is
no filter available to remove files placed at the root of
{{{WP_LANG_DIR}}}. So i'm not sure it's the right place to add a custom
language file to override the one that is placed in
{{{WP_LANG_DIR}}}/plugins. It seems to me this place is restricted to
'''site''' language files
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5887#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list