Background of the issue:
I want to add a different embed script code for different languages on my WordPress site using WPML. I am trying to use the following script: <script charset="utf-8" type="text/javascript" src="//js-eu1.hsforms.net/forms/embed/v2.js"></script><script>hbspt.forms.create({portalId: "145238364",formId: "24fc2f09-1b52-4c6b-a3b7-369b657e6287",region: "eu1"});</script>. The issue can be seen on this page: hidden link.
Symptoms:
The script is not showing in the translation 'ATE'. I expected to see the option of adding the script to different languages.
Questions:
How can I add a different embed script code for different languages?
Why is the script not showing in the translation 'ATE'?
While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.
It is not expected to translate custom code via the WPML editor, nor to add custom code in such a way. But there are a few ways you can achieve what you wish:
1) You can disable the WPML editor and translate your page manually, and add different code:
The topic ‘[Closed] i want that i want to add a diffrent embedd script code in diffrent language how to do that’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.