[wp-trac] [WordPress Trac] #37819: _load_textdomain_just_in_time() is really not nice with alternative translations

WordPress Trac noreply at wordpress.org
Mon Sep 19 10:28:45 UTC 2016


#37819: _load_textdomain_just_in_time() is really not nice with alternative
translations
--------------------------------------+------------------------------
 Reporter:  imath                     |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  I18N                      |     Version:  4.6
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by ocean90):

 This behaviour is not new. I thought I created a ticket for that but can't
 find it right now (or haven't created it…).

 `load_textdomain()` can be called multiple times for the same text domain
 but existing translations are not overwritten.

 Would [attachment:37819.diff] revert the change from #34213?

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


More information about the wp-trac mailing list