HTML inside alg_wc_ev_translate Shortcode

Forums › Customer Email Verification for WooCommerce – Support Forum › HTML inside alg_wc_ev_translate Shortcode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #188649
    mvais
    Participant

    Hello,

    When I translate the messages in the backend using the shortcode alg_wc_ev_translate, the $content is escaped using esc_html in the language_shortcode function. As a result, I can’t insert a link.

    [alg_wc_ev_translate lang=”DE”]Ihr Account muss aktiviert werden, bevor Sie sich einloggen können. Sie können sich die E-Mail mit dem Verifikationscode erneut zusenden.[/alg_wc_ev_translate][alg_wc_ev_translate lang=”FR”]Votre compte doit être activé avant que vous puissiez vous connecter. Vous pouvez renvoyer le courriel avec le code de vérification.[/alg_wc_ev_translate]

    Is there a workaround for this?

    Thank you

    #189018
    Hindi
    Participant

    Hi,

    We have released Customer Email Verification for WooCommerce Pro v3.2.9, which includes a change to the [alg_wc_ev_translate] shortcode that should resolve this issue.

    Please update the plugin to v3.2.9 and test the translated message with the clickable resend verification link. This should allow the translated content and the resend link to work correctly together.

    Please let us know how it works after the update.

    Best regards,

    #189019
    Hindi
    Participant

    After updating to v3.2.9, could you please try the following format:

    [alg_wc_ev_translate lang="DE"]
    Ihr Account muss aktiviert werden...
    <a href="%resend_verification_url%">erneut zusenden</a>
    [/alg_wc_ev_translate]

    Please let us know the result after testing.

    #189057
    mvais
    Participant

    Hi Hindi

    thanks for the update on the plugin. We’ve installed and tested v3.2.9, seems to work as intended now, thank you!

    Best regards

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