[wp-trac] Re: [WordPress Trac] #9686: Make pomo class flushable/reloadable (was: Please : load_theme_textdomain function be hookable)

WordPress Trac wp-trac at lists.automattic.com
Fri May 1 10:43:57 GMT 2009


#9686: Make pomo class flushable/reloadable
--------------------------------------------------------+-------------------
 Reporter:  michelwppi                                  |        Owner:  nbachiyski    
     Type:  feature request                             |       Status:  reopened      
 Priority:  normal                                      |    Milestone:  Future Release
Component:  i18n                                        |      Version:  2.8           
 Severity:  normal                                      |   Resolution:                
 Keywords:  needs-patch reporter-feedback dev-feedback  |  
--------------------------------------------------------+-------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch needs-testing reporter-feedback => needs-patch
               reporter-feedback dev-feedback
  * type:  enhancement => feature request


Comment:

 I think you're now making a bit more sense. In other words:

  - Currently, WP loads translation files before the query
  - You'd like WP to load translation files *after* the query

 Big -1 on the requested hooks. Plus, I'm pretty certain that this will
 introduce scores of potential bugs in the WP workflow.

 The correct approach, imo, would be to make it so that the pomo-related
 stuff can be flushed and reloaded later on. That way, you can play around
 with the locale as much as you want, on the correct plugin hook.

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


More information about the wp-trac mailing list