This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to get embedded Hubspot contact and subscribe forms to translate automatically on your site. You have created separate instances for each language, but you prefer an automatic translation solution. You are also unable to find the embedded content after moving scripts and creating shortcodes.
Please note that this solution might be irrelevant if it's outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to get embedded Hubspot contact and subscribe forms and the Elfsight event calendar to translate on my site hidden link. Since I couldn't get them to translate, I created separate instances of each form and the calendar in Spanish to call the correct instance per the language. Ideally, I would have preferred being able to just autotranslate the original instances.
Symptoms:
I was unable to find the embedded content even after moving the scripts and creating shortcodes. I checked both strings and admin screen strings. I also tried the auto register strings, but nothing came up.
Questions:
How can I get embedded Hubspot contact and subscribe forms to translate automatically?
How can I get the Elfsight event calendar to translate automatically?
Why am I unable to find the embedded content even after moving the scripts and creating shortcodes?
Can you please explain what's the "Hubspot contact"? Is it hidden link ? Because this contact form looks translated.
Please also let me know which subscribe form you're referring to, because, hidden link this one also looks translated.
Besides these, please note that if "Hubspot contact" and "subscribe form" are different issues like "Elfsight event calendar", I recommend opening a separate tickets per issue because as per forum policy we can only handle one issue per ticket/chat. So you can get more to the point help, without mixing up several issues in one long ticket.
Please let me know about "Hubspot contact" issue in this ticket.
I will open a separate ticket for the Elfsight event calendar.
Everything is currently displaying a translated version because as stated, we manually created separate instances and are displaying a separate Spanish Hubspot Contact form and Spanish Hubspot Subscribe form. It was a workaround because we had to launch the site and couldn't wait to figure out how to get it work without separate forms.
My question is: is there a way to get these embedded forms to translate automatically instead of us needing to create completely separate forms?
Well, I'm not sure how you are creating and embedding these forms. Usually the way you solved it, is also a recommended (or only) way of doing it, due to an incompatibility or the way such content works.
From your debug information, I can't find the above mentioned plugin or any relevant one which I can check for more information.
Can you please check the above mentioned plugin and see if that's the one you're using? And if it's the same, then please follow the guide and see if it helps?
The Hubspot forms are created via the Hubspot web platform.
I did see that there is a Hubspot plugin, which we could go ahead and install. We had not bothered originally since the team working with Hubspot doesn't work directly with our WordPress site.
However, based on the instructions, it's essentially the same solution: a separate form needs to be created for each language.
Could you confirm that there is no way to have one form and simply display a translation of the form labels, depending on the language?
No, that's the only way as prescribed in the guide.
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.