Skip to content Skip to sidebar

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

Problem:
The client was unable to update the link targets for two buttons in the top slider element on their multilingual website. While one link could be found and edited in the Advanced Translation Editor (ATE), it did not reflect on the live site.
Additionally, the second link was missing from the ATE and could not be updated.

Solution:
1. We asked the client to clear the website's cache using the "WP-Optimize Premium - Clean, Compress, Cache" plugin and then disable it.
2. We instructed the client to set the German links the same as in the Dutch version, using the Enfold page builder instead of setting them manually.
3. We recommended making minor changes to the default language page and updating it to trigger an update on the translations.
4. We suggested testing in a minimal setup environment with only the theme, WPML plugins, and essential plugins active.
5. We provided a custom XML configuration code to add to the WPML -> Settings -> Custom XML Configuration tab:

<wpml-config>
<shortcodes>
<shortcode>
<tag>av_fullscreen_slide</tag>
<attributes>
<attribute>title</attribute>
<attribute>button_label</attribute>
<attribute type="link" encoding="av_link">link1</attribute><br />        <attribute>button_label2</attribute>
<attribute type="link" encoding="av_link">link2</attribute><br />      </attributes>
</shortcode>
</shortcodes>
</wpml-config>

6. We advised the client to update the page in the default language with minor changes and translate again with automatic translation.

The client confirmed that the issue was resolved after adding the custom XML configuration code.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, 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 21 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 3 months ago.

Assisted by: Marsel Nikolli.

Author Posts
March 26, 2024 at 10:14 am #15450448

Marsel Nikolli

Hi Ivan,

Thank you for the update.

1) I've checked again your website and for the German version, I see that the option for the button links (when editing the slider) is set to "Set manually".

Would it be possible to re-translate the German version of the home page and check if the issue persists?

2) Could you please tell me the translation workflow in the staging site?

Looking forward to your reply,
Marsel

March 27, 2024 at 8:30 am #15453894

Ivan Beemster

Re 1) do you mean on the live site? And via ATL or Enfold? In the former, I cannot find the link targets, and in the latter, I can update translation, but it will be gone once the original is updated.

Re 2) I followed these steps: set links in DE version with the Enfold page builder, then made an update to the original page to confirm that the DE page is not affected like on live.

Thanks,
Ivan

March 27, 2024 at 9:38 am #15454317

Marsel Nikolli

Hi Ivan,

1) I meant to change the links in DE via the Enfold page builder, but you already did that.

Can you please do a final test on the live site?

- Clear the website's cache with the plugin "WP-Optimize Premium - Clean, Compress, Cache"
- Disable the plugin "WP-Optimize Premium - Clean, Compress, Cache"
- Then try re-translating the homepage in DE

And check if the issue persists.

* Note: Please make sure you have a full backup of your website before making any updates/changes to your website.

------

2) If the issue persists after the test, to further troubleshoot the issue I would require a copy of your website to test it locally and further escalate the issue if needed.

You can use the Duplicator plugin(https://wordpress.org/plugins/duplicator/) to create a copy of your website and upload the backup on a file-sharing website (Google Drive, Dropbox, etc.), please send me the link to download the backup after.

* Please try to minimize the size of the backup file by excluding unnecessary media files or backup folders that might be in the "/wp-content/" folder.

I’ve set your next reply as private so you to provide the backup link.

Let me know how it goes,
Marsel

March 29, 2024 at 4:49 pm #15465112

Marsel Nikolli

Hi Ivan,

Thank you for the copy of the website, I was able to download it.
Will check it locally and I'll let you know.

Happy Easter & wish you a great weekend ahead!
Marsel

April 4, 2024 at 10:34 am #15482456

Marsel Nikolli

Hi Ivan,

I hope you're doing well.

I've escalated your issue to the 2nd tier support team for further troubleshooting.
I will update you as soon as I have feedback from the team.

* I've shared the website access details with them in case it is needed to check something on your site.

Kind regards,
Marsel

April 4, 2024 at 11:41 am #15482723

Ivan Beemster

Hello Marsel, thanks and keep me posted!

April 8, 2024 at 8:41 am #15493076

Marsel Nikolli

H Ivan,

The team suggests you follow the steps below:

1) Add the following code to the WPML -> Settings -> Custom XML Configuration tab:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>av_fullscreen_slide</tag>
      <attributes>
        <attribute>title</attribute>
        <attribute>button_label</attribute>
        <attribute type="link" encoding="av_link">link1</attribute>
        <attribute>button_label2</attribute>
        <attribute type="link" encoding="av_link">link2</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

2) Update the page in the default language with minor changes and translate again with automatic translation.

After that, check if the issue persists and let me know.

Looking forward to your reply,
Marsel

April 8, 2024 at 1:32 pm #15494378

Ivan Beemster

Hi Marsel, that fixed it! I made an update to the Dutch page and then saw no changes in the DE version. A minute later after a refresh, the right URLs did show up on the buttons, probably after automatic translation picked up on the change.

It was a quite a search, thanks so much for your help and time!

Best,
Ivan