[wp-trac] [WordPress Trac] #58696: Installation pages do not have JS translations

WordPress Trac noreply at wordpress.org
Mon Jan 15 18:56:15 UTC 2024


#58696: Installation pages do not have JS translations
--------------------------------------+-------------------------
 Reporter:  sabernhardt               |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.5
Component:  I18N                      |     Version:  5.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  javascript
--------------------------------------+-------------------------
Changes (by swissspidy):

 * owner:  (none) => swissspidy
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57286" 57286]:
 {{{
 #!CommitTicketReference repository="" revision="57286"
 Upgrade/Install: Fix JavaScript localization on install page.

 Blocks registration causes scripts to be initialized and localized very
 early, before the current locale has been properly set on the installation
 page.

 This changes `determine_locale()` so that the locale chosen during
 installation is recognized and loaded earlier, ensuring proper script
 localization.

 Props sabernhardt, NekoJonez, jornp, costdev.
 Fixes #58696
 }}}

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


More information about the wp-trac mailing list