Skip Navigation

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.

Solution:
We recommend checking if you are using the Hubspot plugin compatible with WPML, which can be found here: https://wpml.org/plugin/hubspot-all-in-one-marketing-forms-popups-live-chat/. If this is the plugin you are using, please follow the detailed guide for integrating Hubspot with multilingual sites using WPML, available here: https://wpml.org/documentation/plugins-compatibility/integrating-hubspot-with-multilingual-sites-that-use-wpml/. Unfortunately, creating separate forms for each language is currently the only method prescribed.

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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Waqas Bin Hasan 4 months, 2 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
August 27, 2024 at 9:39 am #16108650

nicholasH-9

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?

August 27, 2024 at 12:12 pm #16109606

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

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.

Regards.

contact.jpg
sub.jpg
August 28, 2024 at 4:23 pm #16116289

nicholasH-9

Hello,

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?

August 29, 2024 at 5:53 am #16117496

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

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.

However, I checked our list of compatible plugins and found this https://wpml.org/plugin/hubspot-all-in-one-marketing-forms-popups-live-chat/, which seems to work a little different for translations than the way you've described so far.

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?

August 29, 2024 at 10:19 am #16119354

nicholasH-9

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?

August 29, 2024 at 11:27 am #16119618

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

No, that's the only way as prescribed in the guide.