[wp-trac] [WordPress Trac] #23721: Better control of textdomains.

WordPress Trac noreply at wordpress.org
Sun Feb 23 19:06:28 UTC 2014


#23721: Better control of textdomains.
-------------------------+-------------------------
 Reporter:  krembo99     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:  worksforme
 Keywords:               |     Focuses:
-------------------------+-------------------------
Changes (by ocean90):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Hello krembo99, sorry you never got a response.

 > If a user need a plugin/ theme that does not have a translation [...]
 and by dropping it inside wp-content/languages folder , that translation
 will be loaded instead of the one supplied (or not supplied ) with the
 original plugin / theme .

 With [22346] for themes and [25059] for plugins this is now possible.

 There are already also some hooks in `load_textdomain()` which you can
 use: `override_load_textdomain`, `load_textdomain` and
 `load_textdomain_mofile`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23721#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list