[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:18:01 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:4 nacin]:
> If a string is less than, say, 15 or 20 characters, is fuzziness worth
it? I imagine that the 75% should be a sliding scale. A 75% (or
even 80%) match of 20 characters would probably result in false positives,
while 75% (or less) might be OK when dealing with particularly long
strings.
I agree, I'll see about making this variable based on length.
> It would be good if this was entirely driven by filters. So here's
string A, here's string B, please return true/false as to whether the
string is fuzzy. Then a function could hook in and decide if the strings
are close enough. (Inside this callback could be a filter controlling the
75% threshold.)
>
> One benefit of a hook is that on WordPress.org I would want to log all
50%+ matches over the course of a number of imports, to see if the
threshold is appropriate, or if it is flagging a lot of false positives
(the problem here being where a string's meaning changes but translators
don't pick up on it).
I'll work on that.
--
Ticket URL: <http://glotpress.trac.wordpress.org/ticket/263#comment:7>
GlotPress <http://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list