[wp-meta] [Making WordPress.org] #5672: Currently if author changes his http -> https if a translation contains a https but the translation does not have it, the translation will be fuzzed.

Making WordPress.org noreply at wordpress.org
Thu Mar 25 00:56:13 UTC 2021


#5672: Currently if  author changes his http -> https if a translation contains a
https but the translation does not have it, the translation will be fuzzed.
--------------------------------------+---------------------
 Reporter:  psmits1567                |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:
Component:  Translate Site & Plugins  |  Resolution:
 Keywords:                            |
--------------------------------------+---------------------

Comment (by dd32):

 I think the only time this should/would be applied are cases where the
 string is an exact match, as that's far easier than translated strings
 where the changed URL could potentially mean a context change? I'm not
 sure, writing that makes me think I'm off-base and that I agree that a URL
 that was kept the same in the original translation can probably safely
 just be updated.

 For example, in psuedocode for item 1:
 {{{
 IF original is only a URL
   AND is now fuzzy
   AND Translation of old original was an exact match of original (ie.
 http://example.com is original and translation)
   OPTIONALLY AND the new original only varies by http => https
 THEN
  - Update translation to be exact match of new original
 }}}

 That's the simplest one, but also applying to longer strings such as
 `Example http://example.com Example` which is example 2 above is possible
 but also feels like it could be more fragile, and is more complex:
 {{{
 IF original contains a URL
   AND is now fuzzy
   AND original varies only by a changed URL
 THEN
  - Swap out changed URLs, leaving translated URLs alone
  - Create new translation with changed URLs
 }}}
 (Funny that, in psuedocode it seems easier!)

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


More information about the wp-meta mailing list