[wp-trac] [WordPress Trac] #45465: JavaScript translations are not loaded in the language of user locale

WordPress Trac noreply at wordpress.org
Mon Dec 17 19:35:14 UTC 2018


#45465: JavaScript translations are not loaded in the language of user locale
---------------------------------+----------------------
 Reporter:  ReikoDD              |       Owner:  desrosj
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  5.0
Component:  Editor               |     Version:  5.0
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch fixed-5.0  |     Focuses:
---------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44278" 44278]:
 {{{
 #!CommitTicketReference repository="" revision="44278"
 l10n: Ensure JavaScript language packages are loaded for the user locale.

 `load_script_textdomain()` had a reversed check to decide if the user
 locale should be loaded. This check is now replaced with
 `determine_local()`.

 Props ocean90.

 Merges [43959] into trunk.

 Fixes #45465.
 }}}

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


More information about the wp-trac mailing list