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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shekhar Bhandari 1 year, 2 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
September 26, 2023 at 7:50 am #14463773

jesus-alonsoE

Different media translations aren't shown properly on few shortcodes

September 27, 2023 at 9:40 am #14472299

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Our compatibility team checked the issue and provided the following workarround

Go to WPML > Configuration > Custom XML Configuration and add the following code

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>client</tag>
      <attributes>
        <attribute>name</attribute>
        <attribute type="post-ids" sub-type="attachment">image</attribute>
        <attribute type="link" encoding="vc_link">url</attribute>
      </attributes>
    </shortcode>
		<shortcode>
			<tag>nectar_video_lightbox</tag>
			<attributes>
				<attribute>link_text</attribute>
        <attribute type="post-ids" sub-type="attachment">image_url</attribute>
			</attributes>
		</shortcode>    
  </shortcodes>
</wpml-config>

Add a small update to the page and update its translation.

Let me know if this helps.

Thanks