[wp-meta] [Making WordPress.org] #5804: Translation Memory consistenly errors out on bigger strings.

Making WordPress.org noreply at wordpress.org
Fri Jul 2 14:33:22 UTC 2021


#5804: Translation Memory consistenly errors out on bigger strings.
--------------------------------------+---------------------
 Reporter:  NekoJonez                 |       Owner:  (none)
     Type:  defect                    |      Status:  new
 Priority:  low                       |   Milestone:
Component:  Translate Site & Plugins  |  Resolution:
 Keywords:  close                     |
--------------------------------------+---------------------
Changes (by ocean90):

 * keywords:   => close


Comment:

 The
 [https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/plugins/wporg-gp-translation-suggestions/inc/class-
 translation-memory-client.php?revision=8937#L91 query for this string]
 takes around 13 seconds but will return no results. But since the current
 [https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/plugins/wporg-gp-translation-suggestions/inc/class-
 translation-memory-client.php?revision=8937#L114 timeout is set to 2
 seconds] you will get the error message instead which still seems to be
 better than waiting for nothing.

 The TM is no real help for larger strings like this since they only used
 once therefore there's nothing we can do here, beside disabling the TM
 suggestions if the string has more than x characters.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5804#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list