Skip to content Skip to sidebar

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 3 replies, has 1 voice.

Last updated by matildaW 1 week, 2 days ago.

Assisted by: Bobby.

Author Posts
August 25, 2025 at 8:23 am #17344033

matildaW

Background of the issue:
I need to be able to use another HubSpot ID on a translated page. I've gone through various support threads to try to rescan for shortcodes as well as overriding the XML file, but I haven't been able to get the ID to appear for translation anywhere.

Symptoms:
The HubSpot ID does not appear for translation despite attempts to rescan for shortcodes and override the XML file.

Questions:
How can I make the HubSpot form ID translatable on a translated page?
What steps should I follow to rescan for shortcodes effectively?

August 25, 2025 at 10:12 am #17344495

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

Please try next approach:

1) Add XML configuration for your form short code:
- https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/

2) Add XML to allow translation of numbers in ATE editor:

- https://wpml.org/documentation/support/language-configuration-files/numeric-value-translation/

3) Translate the page and while in ATE, use search and search for that short code and add other ID number:

- https://wpml.org/announcements/2020/02/translating-links-with-advanced-translation-editor/

Let us know if this helps.

Regards,
Drazen

August 26, 2025 at 1:37 pm #17348579

matildaW

Thanks for the above tips!

I've tried them all and unfortunately without success, hopefully I can get one of your colleagues to take over the ticket soon.

August 26, 2025 at 7:24 pm #17349457

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

As a workaround please try the following:

1. Go to the page in question and edit it

2. Use the langauge switcher at the header and switch to the secondary language (if you are not seeing it, exit the full display)

3. Dismiss the warning and you should be able to manually edit the shortcode.

4. Add your second short code.

Let me know your results, please.

August 28, 2025 at 9:16 am #17354037

matildaW

Thanks! The workaround solved it. However I'm assuming this means I will have to do the same workaround everytime the page is updated?