Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're using the Shortcode widget within Elementor and notice that the content does not appear in the WPML page translation window, and translations saved in WPML String Translation are reset to the original language when you modify the page translation again, you are encountering a known issue.
Solution:
We acknowledge this behavior is expected at the moment due to the way numbers-only shortcodes are handled. They are not visible in the Advanced Translation Editor (ATE) and any translations done via String Translation will be overwritten if the page is edited again in the ATE. Currently, we recommend manually translating the content of the Shortcode widget as a workaround. We are working on a fix for this issue, but in the meantime, manual translation is the suggested method.

If this solution does not seem relevant to your situation, please open a new support ticket with us.

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 3 voices.

Last updated by Laura 1 year, 4 months ago.

Assisted by: Laura.

Author Posts
January 23, 2024 at 10:39 am #15215655

piotrB-34

Within Elementor, I am using the Shortcode widget with the content to be different for each translation.

The content of the Shortcode widget does not show up in the page translation window.
I am able to find the correct entry in the WPML String translation option and to save the translation there.

Everything works fine until I modify the page translation again via the page translation window. Then the translation record for the Shortcode resets - the value for the translation goes back to the original value, which is a copy of the version from the original language.

That is, the translation of what is saved for the Shortcode widget in String Translation for a given page is reset the moment I modify other translations for that page via the normal WPML translation window.

How do I get this to NOT reset?

Thanks in advance for your guidance

January 23, 2024 at 5:45 pm #15218484

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello, welcome to the WPML support Forum!

While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.

Could you please check if the shortcode content is available when using the search box feature of ATE? https://wpml.org/announcements/2020/02/translating-links-with-advanced-translation-editor/

Please let us know if it worked for you.

January 24, 2024 at 9:59 am #15220746

piotrB-34

Hi Diego,

I've checked this.
Just as the URLs are searchable in this window, the texts filling the Shortcode widget (i.e. '[INSERT_ELEMENTOR id="3105"]') are not visible, neither in full nor in part.

They are searchable only in the String Translation feature. The translation can be put there without any problem but it is reset to the original on the next usage of the ATE window on that page.

I'm using the standard Shortcode widget from Elementor (nothing unusual) and the translation Polish-to-English.

Looking forward for your support.

January 25, 2024 at 11:44 am #15225862

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

unfortunately, I'm afraid what you're experiencing is expected. Numbers-only shortcode can't be seen in the Advanced Editor and if you translate something in String Translation is expected it's overwritten when edited again in the Editor.

We're working for a fix for this but at the moment we can only suggest manual translation.

January 25, 2024 at 12:13 pm #15226005

piotrB-34

That's not a good news, I'm afraid.
I have to find another way to get the effect I need.
Thank you anyway!