Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Noman 1 week, 1 day ago.

Assisted by: Noman.

Author Posts
September 22, 2024 at 7:25 am #16205480

pietroM-14

Ok! That worked, how can I translate the id's for other sections?
I have popups set to trigger on sections and buttons as well.

For example on that same page, the banner at the bottom that says: "Still haven't found what you're looking for?"

Or this page: hidden link the button that says "Let's build your website today".

I tried this code but it's working:

<wpml-config>
<shortcodes>
<shortcode>
<tag>dipi_pricing_table_item</tag>
<attributes>
<attribute>module_id</attribute>
<attribute>id</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>et_pb_button</tag>
<attributes>
<attribute>module_id</attribute>
<attribute>id</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>et_pb_module</tag>
<attributes>
<attribute>module_id</attribute>
<attribute>id</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

September 22, 2024 at 3:53 pm #16206444

Noman
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. Could you please try to follow the below steps and see if this resolves the issue:

1. Please use the updated XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>dipi_pricing_table_item</tag>
      <attributes>
        <attribute>module_id</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>dipi_expanding_cta</tag>
      <attributes>
        <attribute>module_id</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>et_pb_button</tag>
      <attributes>
        <attribute>module_id</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

2. Make a small change in the default language page to reload the translation.

3. Open the translated page and translate the popup ID.

Please let me know the results,
Thank you