[glotpress-updates] [GlotPress] #327: Cross project translations matching

GlotPress noreply at wordpress.org
Tue Jul 21 10:33:51 UTC 2015


#327: Cross project translations matching
--------------------------+----------------------------------------
  Reporter:  yoavf        |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  1.0
 Component:  General      |    Version:
Resolution:               |   Keywords:  has-patch needs-unit-tests
--------------------------+----------------------------------------

Comment (by yoavf):

 Replying to [comment:16 ocean90]:
 > See https://wordpress.slack.com/archives/meta-i18n/p1436914041000312:
 >
 > We're running into a huge slowdown on translate.wordpress.org now. An
 import of Jetpack's strings took 17 minutes. @dd32 did a rewrite of the
 translation memory loop, see [attachment:327-rewrite1.diff]. With the
 patch the same import took only 3 minutes.

 The patch is noticeably faster, but the query fails for all strings with
 placeholders in them (which might account for some of the speed
 improvement):
 in `$gpdb->prepare()`, vsprintf will fail with `Too few arguments in...`

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/327#comment:19>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list