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

WordPress Trac noreply at wordpress.org
Tue Dec 4 01:12:51 UTC 2018


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

Comment (by pento):

 In [changeset:"43959" 43959]:
 {{{
 #!CommitTicketReference repository="" revision="43959"
 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.
 See #45465.
 }}}

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


More information about the wp-trac mailing list