Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch adds the option to use custom translation strings.
Comment | File | Size | Author |
---|---|---|---|
custom_translations.patch | 5.56 KB | demm | |
Comments
Comment #1
RobLoachThis is awesome!!!!!.......... Mind switching those tabs to spaces?
Comment #2
mvcThis 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.
Comment #3
danoguru CreditAttribution: danoguru commentedis there any progress on this issue? Since reCaptchat.net supports only a few languages, also the popup link with current user language will generate a page not found. (http://recaptcha.net/popuphelp/sk.html)
The second problem is at least to replace the text "Type the two words" using locale.
Comment #4
knalstaaf CreditAttribution: knalstaaf commentedSubscribe.
Comment #5
knalstaaf CreditAttribution: knalstaaf commentedSee also: #1177498: Support for custom localization
Comment #6
knalstaaf CreditAttribution: knalstaaf commented#1177498: Support for custom localization