是否可以自定义 Recaptcha 图像语言?
是否可以自定义 Recaptcha 以仅显示英文单词的文本? 最近,我发现文本可以以其他语言(例如希伯来语)显示。
以下是示例:
说实话,使用罗马字母键盘的普通用户无法输入这些单词没有多少人知道图像可以重新绘制。
Is it possible to customize Recaptcha to display text in English only words?
As recently, I found that text could be displayed in other language like Hebrew.
Here is example:
To be honest it is not possible to type such words for ordinary users having keyboard with Roman alphabet and not many know that image can be redrawn.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
AFAIK,通过 API 您只能自定义界面,而不能自定义图像。
reCAPTCHA 使用真实书籍的扫描,因此有时,即使在拉丁书籍中也有一些非拉丁字符也。
不过这里应该没有问题。 reCAPTCHA 始终显示两个单词:一个即使对于 reCAPTCHA 来说也是未知的(在本例中可能是希伯来语),另一个是真正经过检查的单词。
因此,用户可能会拼错希伯来语,但当他按预期键入另一个(拉丁语)单词时就没有问题了。
(只是猜测,但我认为这就是这个东西的工作原理)。
AFAIK, via the API you may only customize the interface, not the images.
reCAPTCHA uses scans from the real books, so sometimes, even in latin books there are some non latin characters too.
But there should be no problem here. reCAPTCHA displays always two words: one unknown even for the reCAPTCHA (probably the Hebrew in this case), and the other one, which is really checked.
So the user may misspell the Hebrew, but it's OK when he types the other one (latin) word as expected.
(Only guesses, but I think that's how this thing works).
您是否看过:http://code.google.com/apis/ recaptcha/docs/customization.html#i18n?
这就是 API。它谈到设置翻译,但我从未使用过它,所以我不能100%确定它是否可以做你想要的。
由于 Recaptcha 获取验证码字符串的来源(从书籍中扫描的文本),它很可能仅限于使用拉丁字母的语言。
我敢打赌,Reviled 是挑战词(从书上扫描的那个),另一个是测试词(它用来验证输入挑战词的人是否真的在打字)合法或不合法的东西)。
Have you looked at: http://code.google.com/apis/recaptcha/docs/customization.html#i18n?
That's the API. It talks about setting the translation, but I've never used it, so I'm not 100% sure whether it can do what you want.
Due to where Recaptcha gets its captcha string from (text scanned from books), it could very well be limited to languages that use the Latin alphabet.
I bet that Reviled is the challenge word (the one scanned from the book) and the other is the test word (the one it uses to verify whether or not the person who typed the challenge word is actually typing something legitimate or not).