This blog post comes as a resolution to the Sitefinity feature request Form Captcha control localizable.
Sitefinity provides a way to localize your site in as many language versions as required. By using Sitefinity’s multilingual support you can localize pages, content items, taxonomies, and so forth. Thus, you can address your site’s international audience and target a greater number of users. Forms module also supports translation for different languages.
Imagine that you would like to create a Subscription page via the Forms module in Sitefinity. To prevent bots and vulnerability, one of the best approaches is to add captcha control in the subscription form. This could be achieved easily following the blog post from Sitefinity here. Next, you can easily localize all fields in the form and the page where the form is dropped. Read the different topics in Sitefinity documentation regarding Multilingual environment.
Defining the problem
See an example of same Subscription form in English and French:
Notice that the labels that are part of the captcha control are not translated in French.
Follow the steps below to have the labels of the RadCaptcha control translated.
From Sitefinity's backend go to Content -> Forms
Create new translation of the form in French.
Click to Edit the Captcha field and access designer properties.
Find the ErrorMessage property and enter the translation of
"Invalid code, please try again" in French:
"Code non valide, se il vous plaît essayer à nouveau"
Find the CaptchaTextBoxLabel and enter the translation of "Type the code from the image" in French: "Tapez le code fom l'image".
Save the Form control designer changes.
Publish the form translation.
Now whenever you go to view the page in French, the form control will be displayed fully translated.