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
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by Shekhar Bhandari 6 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
May 28, 2024 at 8:48 am

justinK-16

Issue with automatic translations

May 28, 2024 at 9:47 am
May 30, 2024 at 1:24 pm #15688250

justinK-16

Hi Shekhar

Ok, I believe I found the issue.

We also use a comment plugin called wpdiscuz.

They have a feature called inline comments which requires a shortcode to be added to the text editor in Elementor in order to show a speech bubble in a paragraph where we can ask a question to the reader.

Even though the content appears for translation in the ATE the speech bubbles do not appear in the translated language.

So after a little research, it was found that we needed to register the shortcodes in XML - which we did.

Before deactivating all the plugins I thought I would first remove the shortcode registration and all started working fine again.

This is the code added to the XML config file:
<wpml-config>
<shortcodes>
<shortcode>
<tag>wpdiscuz-feedback</tag>
<attributes>
<attribute>id</attribute>
<attribute>question</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

Could you advise how/what to modify in order to get this to work correctly and not cause the Translation Update to get stuck?

Thank you

May 31, 2024 at 4:55 am #15690514

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

So if you disable this plugin or remove the XML, the stuck issue doesn't occur, am I correct?

Can you provide me the page where the shortcode is added so I can see what's the correct XML for this shortcode.

Look forward to your reply.

Thanks

May 31, 2024 at 12:25 pm #15692225

justinK-16

Hi Shekhar

Yes, this is correct - I removed the XML and the stuck issue no longer occurs.
(I did not disable the plugin).

This is in the original English version:
hidden link

Once translated in Italian:
hidden link

The code is in the first paragraph under the heading 1. La Spezia to Cinque Terre.
In English, the post displays a small green speech bubble which when clicked on; a comment field appears - as per the image attached.

In Italian it does not appear even though the "question" has been translated in ATE.
The "Question" does not appear in the ATE - I must search for it in the ATE and then it appears - much like searching HTTP for all URLS to appear (otherwise they don't all appear in the main part of the ATE)
(all strings related to the pop-up have also been translated in String Translation).

Screenshot 2024-05-31 122657.jpg
June 3, 2024 at 4:58 am #15696125

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

It looks like an compatibility issue, can you reach out to the plugin authors and ask if this inline comment feature supports multilingual, we can translate the questions using the shortcode, but it still doesn't appear so we will need to know if it works with multilingual website

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>wpdiscuz-feedback</tag>
      <attributes>
        <attribute>question</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

You can also ask them to join our compatibility program to create compatibility with WPML: https://wpml.org/documentation/support/go-global-program/

Look forward to your reply.

Thanks

June 3, 2024 at 9:31 am #15697084

justinK-16

Hi Shekhar

Ok I will reach out to them.

I will be away for the next 8 days and may not have much internet access, so would you be able to extend the time I have to reply before the chat support closes?

Thanks I will update you as soon as possible.

Justin

June 3, 2024 at 9:35 am #15697100

Shekhar Bhandari
Supporter

Languages: English (English )

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

Sure, even if the ticket closes, you can open a new one and refer to this ticket, we can continue from there.

The topic ‘[Closed] Issue with automatic translations’ is closed to new replies.