[wp-trac] Re: [WordPress Trac] #5242: upload.php after file upload not L10n'ed (script-loader.php)

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 22 21:16:08 GMT 2007

#5242: upload.php after file upload not L10n'ed (script-loader.php)
 Reporter:  lybica                                     |        Owner:  anonymous 
     Type:  defect                                     |       Status:  closed    
 Priority:  normal                                     |    Milestone:            
Component:  i18n                                       |      Version:  2.3       
 Severity:  minor                                      |   Resolution:  worksforme
 Keywords:  l10n, localization, upload, script-loader  |  
Changes (by nbachiyski):

  * status:  new => closed
  * resolution:  => worksforme
  * milestone:  2.3.1 =>


 These are in Bulgarian for me, using vanilla 2.3.

 {{{$this->localize(...}}} just constructs an object, containing the
 translated strings before loading the actual js file. This object is
 printed, as a javascript object, around line 203.

 Probably the ajax calls were cached and you saw first the strings in
 English, and when you tried again it was fixed.

 Can you confirm that on a clean install?

Ticket URL: <http://trac.wordpress.org/ticket/5242#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list