translations problem: any solution?

4 views
Skip to first unread message

maxG

unread,
Mar 19, 2009, 1:10:26 PM3/19/09
to reCAPTCHA
I know you guys are asking us to be patients, and to use the
custom_translations option while you work on internationalisation, but
I've been trying over and over to make the following work to no avail.

<script>
var RecaptchaOptions = {
theme : 'white',
tabindex : 0,
custom_translations : { visual_challenge : "Ottieni una prova
visuale" },
custom_translations : { audio_challenge : "Ottieni una prova
audio" },
custom_translations : { refresh_btn : "Ottieni una nuova prova" },
custom_translations : { instructions_visual : "Digita le due
parole:" },
custom_translations : { instructions_audio : "Digita quello che
senti:" },
custom_translations : { help_btn : "Aiuto" },
custom_translations : { play_again : "Riascolta audio" },
custom_translations : { cant_hear_this : "Scarica audio come MP3" },
custom_translations : { incorrect_try_again : "Errato. Riprova." }
};
</script>

what am I doing wrong?

oldergod

unread,
Apr 29, 2009, 10:39:31 PM4/29/09
to reCAPTCHA
You have to put only one custom_translations variable and separate the
values with a ,

like

var RecaptchaOptions = {
theme : 'white',
tabindex : 0,
custom_translations : { visual_challenge : "Ottieni una prova
visuale",
audio_challenge : "Ottieni una prova audio",
refresh_btn : "Ottieni una nuova prova",
instructions_visual : "Digita le due parole:",
instructions_audio : "Digita quello che senti:",
help_btn : "Aiuto",
play_again : "Riascolta audio",
cant_hear_this : "Scarica audio come MP3",
incorrect_try_again : "Errato. Riprova."
}
};
Reply all
Reply to author
Forward
0 new messages