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

WordPress Trac noreply at wordpress.org
Thu Sep 20 18:42:39 UTC 2018


#41305: Add lazily evaluated translations
------------------------------------------+--------------------------------
 Reporter:  schlessera                    |       Owner:  jnylen0
     Type:  enhancement                   |      Status:  assigned
 Priority:  normal                        |   Milestone:  5.0
Component:  I18N                          |     Version:  4.8
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch early dev-feedback  |     Focuses:  rest-api,
                                          |  performance
------------------------------------------+--------------------------------

Comment (by mnelson4):

 FYI I would love to see this happen. I took the latest patch for a spin
 with [[https://wordpress.org/plugins/event-espresso-decaf/|our plugin]]
 and there were no fatal errors, but it broke some key functionality (our
 plugin does event registration, and it broke that). We were using
 translated strings as array keys. There were warnings for both of these,
 and after I cast them to strings, the code worked fine.

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


More information about the wp-trac mailing list