[wp-trac] [WordPress Trac] #62337: i18n: Translation is not applied in load_theme_textdomain() function

WordPress Trac noreply at wordpress.org
Tue Nov 19 11:20:35 UTC 2024


#62337: i18n: Translation is not applied in load_theme_textdomain() function
--------------------------------------+-------------------------
 Reporter:  wildworks                 |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  6.7.1
Component:  I18N                      |     Version:  6.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------

Comment (by timwhitlock):

 Replying to [comment:38 swissspidy]:
 > Thanks, I‘ll take a closer look at your code later this week when I‘m
 back from vacation. Curious to learn more about why the other existing
 hooks won‘t work for that use case.
 >

 I appreciate the offer of your time, but the reason is very simple - There
 is nothing to hook into. If JIT loading has already been done, then **no
 hooks fire at all** when calling `load_plugin_textdomain`.

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


More information about the wp-trac mailing list