haassie / rh_recaptcha

TYPO3 extension implementing Google reCAPTCHA
1 stars 9 forks source link

Translation of text #5

Closed SventB closed 8 years ago

SventB commented 8 years ago

The text "Possible robot detected" seems not to be modifiable with TypoScript. I tried:

plugin.rh_recaptcha._LOCAL_LANG.de.validation.possible_robot = My new text
plugin.tx_rhrecaptcha < plugin.rh_recaptcha
plugin.tx_powermail < plugin.rh_recaptcha

and more.

It seems to be only possible with this (localconf.php):

$TYPO3_CONF_VARS['SYS']['locallangXMLOverride']['EXT:rh_recaptcha/Resources/Private/Language/locallang.xlf'][] = 'EXT:my_ext/Resources/Private/Language/Plugin/RhRecaptcha/locallang.xlf';
$TYPO3_CONF_VARS['SYS']['locallangXMLOverride']['EXT:rh_recaptcha/Resources/Private/Language/de.locallang.xlf'][] = 'EXT:my_ext/Resources/Private/Language/Plugin/RhRecaptcha/de.locallang.xlf';
haassie commented 8 years ago

Added updated manual in 1bd00044fa64052d946fce027f0311a94458df9b.

You can use your own translations by the following TypoScript:

plugin.tx_rh_recaptcha._LOCAL_LANG.de.validation.possible_robot = My new text
SventB commented 8 years ago

Thank you! The key "tx_rh_recaptcha" (with underscore) is pretty unusual. Do you know why it is not "tx_rhrecaptcha"?

haassie commented 8 years ago

You are completely right. I fixed that now so it should work with tx_rhrecaptcha instead of tx_rh_recaptcha. Please use version 0.1.1 of the extension. Will be in TER any moment.