[wp-trac] Re: [WordPress Trac] #9686: Please : load_theme_textdomain function be hookable

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 30 10:18:22 GMT 2009


#9686: Please : load_theme_textdomain function be hookable
---------------------------------------+------------------------------------
 Reporter:  michelwppi                 |        Owner:  nbachiyski
     Type:  feature request            |       Status:  closed    
 Priority:  high                       |    Milestone:  2.8       
Component:  i18n                       |      Version:            
 Severity:  normal                     |   Resolution:  invalid   
 Keywords:  multilingual, localizable  |  
---------------------------------------+------------------------------------
Changes (by hakre):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 load_default_textdomain(), load_plugin_textdomain() and
 load_theme_textdomain() all do not provide a hook. but all use
 get_locale(). get_locale() has a filter/hook called '''locale'''.

 Therefore you can use that one. The Feature is already in. Closing as
 invalid, feel free to add further Feedback and re-open with more
 information if you seem that fits.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9686#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list