[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:45:09 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                     |
--------------------------------------+---------------------

Comment (by NekoJonez):

 Replying to [comment:1 ocean90]:
 > 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.

 Maybe disabling isn't the best idea... I think it would be better that
 there is a message that says something in the line of: "The translation
 memory doesn't support strings from this length?"

 Maybe I'm thinking too hard in OCD terms for this, but I think it might
 cause some little confusion when it's gone.

 But that's just my two cents.

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


More information about the wp-meta mailing list