[wp-trac] [WordPress Trac] #59656: Merge Performant Translations (Ginger MO)

WordPress Trac noreply at wordpress.org
Thu Feb 1 19:04:12 UTC 2024


#59656: Merge Performant Translations (Ginger MO)
-------------------------------------------------+-------------------------
 Reporter:  swissspidy                           |       Owner:  swissspidy
     Type:  enhancement                          |      Status:  reopened
 Priority:  high                                 |   Milestone:  6.5
Component:  I18N                                 |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |  performance
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 In [changeset:"57516" 57516]:
 {{{
 #!CommitTicketReference repository="" revision="57516"
 I18N: Support loading `.l10n.php` translation files on their own.

 Adjusts the translation file lookup in `WP_Textdomain_Registry` so that
 just-in-time translation loading
 works even if there is only a `.l10n.php` translation file without a
 corresponding `.mo` file.

 While language packs continue to contain both file types, this makes it
 easier to use translations in a project
 without having to deal with `.mo` or `.po` files.

 Props Chrystl.
 See #59656.
 }}}

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


More information about the wp-trac mailing list