Change text in form

Permalink
Hi everyone

How can I change the language of the captcha and the required statement in a form?
I'm on 8.2.1

Thx for any help.

2 Attachments

 
linuxoid replied on at Permalink Reply
linuxoid
Have a look here for changing the character set:

https://www.phpcaptcha.org/documentation/customizing-securimage/#cha...

You'll have to extend the SecurimageController.

One can't even guess where the 'Required' could be. What block/package are you using?
theliadir replied on at Permalink Reply
Hi linuxoid

For the captcha:
I want to change the following text into german:
Please type the letters and numbers shown in the image. Click the image to see another captcha.
I dont want to change the letters shown in the captcha image.

For the required statement:
I'm using the stucco theme and the default form block provided from concrete5.
I found a php file in the theme, that was related to the form with a echo statement in it, which said "required".
Here: packages/theme_stucco/blocks/form/templates/stucco_simple_form/view.php
I changed the echo statement, but no change. (I tried hard reload and other browsers.)
and I did the same thing here:
/concrete/blocks/form/view.php

Thx for any further help.
linuxoid replied on at Permalink Best Answer Reply
linuxoid
If you're using the default form block, all you need to do is to add a German Language in the Dashboard: System & Settings -> Multilingual -> Add Locale -> add German, then change it in the locales, change the Default Locale below in Settings and change Site interface source locale to German. Concrete5 should translate all stock blocks automatically.

Don't forget to turn off all caching for making changes in System & Settings -> Optimization -> Cache & Speed Settings. Or at least clear cache after all changes.
theliadir replied on at Permalink Reply
Page broken!

Now I have this Problem:
https://www.concrete5.org/developers/bugs/8-1-0/changing-site-defaul...

And I can't delete de languages anymore.
theliadir replied on at Permalink Reply
Update:
So thx for your help. I understand the multilanguage feature a bit better.
So as I added a new language the page was empty. That's why I though its "broken".
And as I'm not a superadmin, I wasn't able to delete the added language.
My superadmin will delete the language.
I was on 8.2.1 and updated on 8.3.1 what helped a lot.
What still is a bit strange, that I get forwarded to an other language, even I change the default to german. (But thats a smal issue, which we will resolve as we delete the languages)

The solution for my original issue:
I used german in switzerland and not germany (de_CH). That's why it was not working.
Needed to change to german germany (de_DE). Now it translates the required and captcha correctly. Thx for help.

And the recaptcha from google is great and works just fine.

Cheers Daniel
JohntheFish replied on at Permalink Reply
JohntheFish
Install the free recaptcha addon. Its more secure, users are more familiar with it, and recaptcha has built in internationalisation.
theliadir replied on at Permalink Reply
I'll try this, when the page is working again.

Thanks.