Form Captcha control not localizable
@Telerik
Any news on this. How many votes to make it happen :-)
Unless I am mistaken the captcha for forms is not localizable :-/
Some have more then one language and its kind of unprofessional to have English text on German page.
feedback.telerik.com/.../125592-form-captcha-control-localizable
Markus
I thought I had a post but did not find it (maybe it was a support ticket)
Hello Markus,
Currently, the form captcha control is not localizable. In order to localize the fields you need to implement a custom solution by extending the default form captcha control and plugin your custom logic there.
You may take a look at the following articles for more details:
1. https://demos.telerik.com/aspnet-ajax/captcha/examples/localization/defaultcs.aspx
2. http://www.telerik.com/help/aspnet-ajax/captcha-localization.html
Here is also a sample code as we have suggested in the support ticket you have opened illustrating how you can add your custom logic in the custom form captcha control and change the field values:
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Web;
using
Telerik.Sitefinity.Modules.Forms.Web.UI.Fields;
namespace
SitefinityWebApp
public
class
CustomFormsCaptcha : FormCaptcha
protected
override
void
InitializeControls(Telerik.Sitefinity.Web.UI.GenericContainer container)
this
.Captcha.CaptchaLinkButtonText =
"This is the custom link"
;
this
.Captcha.CaptchaTextBoxLabel =
"This is custom label"
;
base
.InitializeControls(container);
Dear Sabri
a) I now know why I saw a usercontrol captcha some time back in one of my projects. I guess I have come across that problem before
b) Do you know if the Captcha Team has an outstanding feature request for localization in a bit simpler way.
To have to do this for every single project is kind of a hassle. Even more confusing is that you can change the text, or some text in the advanced tab of the control within SF.
Markus