Allow custom translation

demm - March 11, 2009 - 12:54
Project:reCAPTCHA
Version:6.x-1.x-dev
Component:reCAPTCHA Captcha
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

This patch adds the option to use custom translation strings.

AttachmentSize
custom_translations.patch5.56 KB

#1

Rob Loach - March 11, 2009 - 21:50

This is awesome!!!!!.......... Mind switching those tabs to spaces?

#2

mvc - June 9, 2009 - 17:05

This looks like a good start, but it looks like you'll only allow one set of alternative strings. Users should be able to set these for each language. I suggest saving one array as a variable, indexed by language code, whose values are arrays of these strings.

Also, it would be better to leave these fields blank, so that users can choose to override a subset of these fields. The default text could be written underneath. In combination with #356348: i18n language support this would allow users to easily override just some strings, while having others supplied by the folks at reCAPTCHA, as appropriate to the current language.

 
 

Drupal is a registered trademark of Dries Buytaert.