[wp-trac] [WordPress Trac] #4260: Maintaining context of current plugin can simplfy i18n API

WordPress Trac wp-trac at lists.automattic.com
Mon May 14 05:00:20 GMT 2007


#4260: Maintaining context of current plugin can simplfy i18n API
---------------------+------------------------------------------------------
 Reporter:  omry     |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.4      
Component:  General  |     Version:           
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 Following a discussion in the mailing list regarding improving the
 translation functions so that plugin authors will be able to provide their
 own translation files, which will be loaded automatically and available
 through the standard __() and _e() functions without specifying a domain,
 I wrote a small prototype that demonstrate how it can be done.

 the full thread is [http://comox.textdrive.com/pipermail/wp-
 hackers/2007-May/012474.html here], and the updated prototype (with stack
 support) is attached to the ticket.

 before looking at the code, its suggested to read the mailing list thread.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4260>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list