[Plugin: WPML] Code gets lost on translated page
-
I’m currently translating a website from German to English. On te frontpage, I insert a newsletter sign-up form with the below code:
<div id="mc_embed_signup"><form id="mc-embedded-subscribe-form" class="validate" action="https://hendrik-gude.us4.list-manage.com/subscribe/post?u=8707a757d5407a09a27f812e8&id=32272ad6a4" method="post" name="mc-embedded-subscribe-form" target="_blank"> <div class="indicates-required"><span class="asterisk">*</span> ben?tigt</div> <div class="mc-field-group"> <label for="mce-EMAIL"><strong>Email Adresse</strong> <span class="asterisk">*</span> </label> <input id="mc-embedded-subscribe" class="button" style="display: none;" type="submit" name="subscribe" value="Subscribe" />Newsletter abbestellen <!-- \\ MAILCHIMP UNSUBSCRIBE CODE // -->Keiner erh?lt gerne uninteressante Emails. Wir verschicken unseren Newsletter nur, wenn es interessante Neuigkeiten gibt!Selbstverst?ndlich wird deine Email-Adresse und deine weiteren Daten von uns nicht an Dritte weitergegeben. </div>
It works fine on the German site. When I translated the page to English, I simply copied all code from the German page and translated the texts. The code remained the same. However, as soon as I save it (or preview the English page), bits of the code get lost. I never managed to get the newsletter form displayed on the English page. The translation as such works… Here’s the code snippet that appears on the English page after saving/previewing:
`<div><form action=”https://hendrik-gude.us4.list-manage.com/subscribe/post?u=8707a757d5407a09a27f812e8&id=32272ad6a4″ method=”post” name=”mc-embedded-subscribe-form” target=”_blank”>
<div class=”indicates-required”><span class=”asterisk”>*</span> required</div>
<div class=”mc-field-group”><label for=”mce-EMAIL”>Email Address <span class=”asterisk”>*</span>
</label>Unsubscribe
<!– \\ MAILCHIMP UNSUBSCRIBE CODE // –> Nobody likes to receive uninteresting e-mails. We only send our newsletter, if there is important news! It is guaranteed that your e-mail address and your further data will not be distributed to third parties.</div>’
Any ideas? Thanks!
- The topic ‘[Plugin: WPML] Code gets lost on translated page’ is closed to new replies.