[glotpress-updates] [GlotPress] #263: On import, detect when a string has minor changes and keep the original translations.

GlotPress noreply at wordpress.org
Sun Sep 15 08:17:02 UTC 2013


#263: On import, detect when a string has minor changes and keep the original
translations.
--------------------------+----------------------------
  Reporter:  yoavf        |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  major        |  Milestone:  Future Release
 Component:  general      |    Version:  0.1
Resolution:               |   Keywords:  has-patch
--------------------------+----------------------------

Comment (by yoavf):

 Replying to [comment:3 nacin]:
 > Both levenshtein() and similar_text() are very slow. What kind of an
 effect might this have on speed of imports? WordPress.org can handle it,
 but it would be good to know what the slow-down will look like.

 I ran a few local tests.

 Importing 2k strings into a 20k strings database: about 2.5 seconds added
 with this patch
 Importing a 20k strings into a 2k strings database: about 4.5 seconds
 added with this patch

 Of course times get higher the less matches you have between the old and
 new databases, but I don't think time is too much of an issue here.

 I plan to test this on WP.com soon - I'll report the results here. (We do
 a full import every hour or so, and our main .pot file holds about 20k
 strings).

--
Ticket URL: <http://glotpress.trac.wordpress.org/ticket/263#comment:6>
GlotPress <http://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list