[wp-trac] [WordPress Trac] #41305: Add lazily evaluated translations

WordPress Trac noreply at wordpress.org
Mon Oct 2 17:22:08 UTC 2017


#41305: Add lazily evaluated translations
-------------------------------------+------------------------------------
 Reporter:  schlessera               |       Owner:  jnylen0
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.9
Component:  I18N                     |     Version:  4.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  rest-api, performance
-------------------------------------+------------------------------------
Changes (by JPry):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 I think the entire premise of this ticket is great. Translations are the
 kind of thing that are ubiquitous within WordPress, and yet they
 definitely need to be more performant. I'm `+1` for adding the lazy
 functions and translation proxies that @schlessera proposed. I could
 foresee using these functions within personal projects to write more
 performant code.

 When looking at this patch locally, it seems that it no longer applies
 cleanly to trunk, so it should be refreshed.

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


More information about the wp-trac mailing list