Tagged: CONTACT FORM, WPML translation
-
AuthorPosts
-
May 29, 2020 at 5:21 pm #1217816
Hi, I have a contact page in German using a form created with Active Campaign. There is a similar AC form in English, however, when using a Code Block in ALB, such as <div class=”_form_21″></div><script src=”https://hrmtools.activehosted.com/f/embed.php?id=21″ type=”text/javascript” charset=”utf-8″></script>, WPML will not display this Code Block for translation, aside from the other content of the page.
I tried to integrate the Code Block in WPML Settings / Custom XML Configuration as a shortcode, but failed – due to low experience in this field.
Both contact pages (German and English) have properly been integrated in the respective language relateded menues.Here is the German page: https://kompetenz-check.ch/kontakt/
Here is the English page: https://kompetenz-check.ch/en/contact/ – all still in German. It seems that the Code Block interfers with the remaining translations.
Does anybody have a clue on this? Thanks in advance!
Cheerio, RenéJune 9, 2020 at 1:36 pm #1220840Hey René,
Thank you for the inquiry.
The div or _form_21 element looks empty. Which strings or text are you trying to translate? Please note that you can’t translate contents that are dynamically added or generated by the hrmtools script, but you should be able to edit those that were directly added in the code block element.
Best regards,
IsmaelJune 9, 2020 at 2:00 pm #1220853Hi Ismael and many thanks for your feedback.
In fact, normally WPML would allow to translate the full code block, where you simply change the id of the form element that retrieves the english version, but as you said, it seems not to load it.
As you can see from the english contact page (https://kompetenz-check.ch/en/contact/), all other page elements (to the right, top or bottom) have been properly translated, except the form element to the left.June 11, 2020 at 1:57 pm #1221684Hi,
It can’t be translated directly by WPML because the script dynamically loads the content or form in the frontend. Technically, the form doesn’t exists in the builder or the editor, so there’s nothing to translate. You might have to contact the script authors and ask them if there is a way to manually translate the form.
Best regards,
IsmaelJune 11, 2020 at 1:57 pm #1221685Hi,
It can’t be translated directly by WPML because the script dynamically loads the content or form in the frontend. Technically, the form doesn’t exists in the builder or the editor, so there’s nothing to translate. You might have to contact the script authors and ask them if there is a way to manually translate the form.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.