[wp-meta] [Making WordPress.org] #7296: Add PHP files to language packs

Making WordPress.org noreply at wordpress.org
Sun Oct 8 21:07:33 UTC 2023


#7296: Add PHP files to language packs
--------------------------------------+---------------------
 Reporter:  swissspidy                |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:
Component:  Translate Site & Plugins  |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+---------------------

Comment (by swissspidy):

 @Otto42 Sure, please see https://make.wordpress.org/core/2023/07/24/i18n-
 performance-analysis/ for an in-depth analysis of various solutions
 including the PHP file approach, covering extensive benchmarks and
 comparisons. See also https://make.wordpress.org/core/2023/09/05/call-for-
 testing-performant-translations/ as linked in the ticket description.

 tl;dr: instead of MO files, WP will load PHP files returning arrays
 containing the translations, which is much faster and benefits from
 OPcache as well.

 We‘re targeting a 6.5 merge with all the necessary blog posts etc. This
 ticket here is for bringing this on the radar for meta early on.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7296#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list