VahidN / DNTCaptcha.Core

DNTCaptcha.Core is a captcha generator and validator for ASP.NET Core applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What about Persian text

arashkey opened this issue · comments

I want to write in Persian letters when it shows captcha. Because it becomes much harder to learn Persian letters with a machine learning
Example of using this link
https://github.com/mojtabamoradi/PersianNumber
how can I do this?

Just set asp-captcha-generator-language="Persian" and asp-captcha-generator-display-mode="NumberToWord" options plus

[ValidateDNTCaptcha(CaptchaGeneratorLanguage = Language.Persian,
                    CaptchaGeneratorDisplayMode = DisplayMode.NumberToWord)]