Express form

Permalink
Hey guys,

I've built a website using concrete5 8 and everything went well so far.
The only problem I have is that I have 2 an english and a german version of the website, but I can't seem to be able to translate the checkbox label to "ja" instead of "yes".

I've looked into site interface translations (but there is no mentioning of the word "yes"), although I refreshed the translation file.

So: where can I translate the checkbox field label in the express form block?

View Replies:
typoman76 replied on at Permalink Reply
typoman76
Hi Simon
What exact language and country is in your settings?
I use german and country Switzerland. So i have to change my translation-files to the folder de_CH.

Can you provide a screenshot of the checkbox to see in which context this is.

best regards, typoman76
SimonErich replied on at Permalink Reply 1 Attachment
Hi typoman,

thanks for your reply.
I have the same settings. My locale for German is de_CH.
I've also tried to copy the folder application/languages/de_DE to application/languages/de_CH and reloaded the strings, which translated a lot more of them, but still no "yes" in the translation editor.

Attached you'll find a screenshot of my form.

I've looked into the express form block code and it seems that the block/view.php uses the following concrete core class to render the form:
Concrete\Core\Express\Form\StandardFormRenderer

Any help is appreciated, thanks.
typoman76 replied on at Permalink Reply
typoman76
Hi Simon
I don't know the direct way for giving you a solution.

I noticed that there is the 'required' shown instead of 'erforderlich'. Do you see this if you are logged in AND logged out? Sometimes if you change the language of your user this has an effect to the translations in the form. I noticed that the required changed then the language.
Not sure about the 'yes'. Is this a field you created through express? Can you change it there?

As far as i know express fields are not multilingual at this time.
I saw a discussion about this:https://www.concrete5.org/community/forums/internationalization/whic...

Perhaps this helps you a step further.
best regards, Roland
SimonErich replied on at Permalink Reply
Hi Roland,

I created a "checkbox" field and the "yes" came with that.
(there is no label field)
But I gave on that. I will just roll with that for now and maybe figure something out for another project.

Thank you though.