[wp-trac] [WordPress Trac] #11012: Filter load_textdomain to control mofiles loaded
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 20 19:15:07 UTC 2009
#11012: Filter load_textdomain to control mofiles loaded
-------------------------+--------------------------------------------------
Reporter: johanee | Owner: westi
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 2.9
Component: i18n | Version: 2.9
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by johanee):
FWIW any of the suggested approaches would solve my situation and would, I
think, be a good addition.[[BR]]
It would appear to be mostly a question of naming and how/if to split the
two desired features: to filter what mo-files load_textdomain() loads, and
to override (or add to) the function.[[BR]]
Personally I would probably combine them in one filter of the mo-file that
overrides the function on empty return similarly to other filters, but
I'll gladly leave that decision to you professionals!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11012#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list