Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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&#8243; 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é

    #1220840

    Hey 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,
    Ismael

    #1220853

    Hi 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.

    #1221684

    Hi,

    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

    #1221685

    Hi,

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.