[wp-trac] Re: [WordPress Trac] #9686: Make pomo class flushable/reloadable

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 28 19:03:45 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  |  
-------------------------------------------+--------------------------------

Comment(by nbachiyski):

 I agree with Denis, that we need functions for reloading the translations
 of a domain.

 Here is how I see it. When loading a textdomain, it will keep internally
 the file it was loaded from. Then, we will have:
 {{{reload_textdomain($domain, $mofile = false)}}}, which will reload the
 translations from the same MO file, or alternatively a different one.

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


More information about the wp-trac mailing list